chickadee » syslog-port

syslog-port

Description

Write to syslog as an output port.

The source for this extension is available here.

Requirements

API

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

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.

current-syslog-portparameter

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.

Contents »