syslog-port

  1. syslog-port
  2. Description
    1. Requirements
  3. API
  4. Author
  5. License

Description

Write to syslog as an output port.

The source for this extension is available here.

Requirements

API

[procedure] (open-syslog identity priority #!optional (options opt/pid) (facility facility/user))

Creates an output port with the given syslog configuration.

The resulting port will buffer output until a newline is encountered, at which point its contents will be flushed to the syslog.

[parameter] current-syslog-port

This parameter provides a default syslog port.

Its starting value is a port that uses (program-name) as its identity and prio/info as its message priority.

Author

Evan Hanson

License

Copyright (c) 2016, 3-Clause BSD.