Usage: logger [OPTION]... [MESSAGE]
Write MESSAGE to the system log. If MESSAGE is omitted, log stdin.
Options:
-s Log to stderr as well as the system log -t Log using the specified tag (defaults to user name) -p Enter the message with the specified priority This may be numerical or a ``facility.level'' pair |
Example:
$ logger "hello" |