You are looking at historical revision 36801 of this page. It may differ significantly from its current revision.

syslog-port

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.