chickadee » syslog-port

Outdated egg!

This is an egg for CHICKEN 4, the unsupported old release. You're almost certainly looking for the CHICKEN 5 version of this egg, if it exists.

If it does not exist, there may be equivalent functionality provided by another egg; have a look at the egg index. Otherwise, please consider porting this egg to the current version of CHICKEN.

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 »