bBox Syslog ( path; {; options} )
This is a script step (not a function) to send messages to the system's Syslog server. On macOS that typically means messages will be written to its "unified log", whereas Ubuntu will send its messages to the file at /var/log/syslog.
parameters:
priority:
"Emergency"
"Alert"
"Critical"
"Error"
"Warning"
"Notice"
"Info"
"Debug"
message: text for content portion of logged message
result:
none
First appeared in version 0.99.10
––––––––––
Log messages using the OS's Syslog facility.
On macOS, reading these will require using the `log` command. For example, this command in the Terminal will show messages as they are sent from bBox:
log stream --predicate "sender == 'bBox'" --debug
Or you could show messages in the last 5 minutes, but not including debug level messages:
log show --last 5m --predicate "sender == 'bBox'"
––––––––––