Common Lisp Package: CL-SYSLOG

Common Lisp interface to syslog.

README:

FUNCTION

Public

GET-FACILITY (FACILITY-NAME)

Return facility number given the facility's name. If there is no such facility, signal `invalid-facility' error.

GET-PRIORITY (PRIORITY-NAME)

Return priority number given the priority's name. If there is no such priority, signal `invalid-priority' error.

LOG (NAME FACILITY PRIORITY TEXT &OPTIONAL (OPTION 0))

Print message to syslog. 'option' can be any of the +log...+ constants

Private

Undocumented

CLOSELOG

OPENLOG (IDENT OPTION FACILITY)

SYSLOG (PRIORITY FORMAT)

GENERIC-FUNCTION

Private

Undocumented

FACILITY (CONDITION)

PRIORITY (CONDITION)

VARIABLE

Private

Undocumented

*FACILITIES*

*PRIORITIES*

CONDITION

Private

Undocumented

INVALID-FACILITY

INVALID-PRIORITY

CONSTANT

Public

+LOG-CONS+

Log on the console if errors in sending.

+LOG-NDELAY+

Don't delay open.

+LOG-NOWAIT+

Don't wait for console forks: deprecated.

+LOG-ODELAY+

Delay open until first syslog() (default).

+LOG-PERROR+

Log to stderr as well.

+LOG-PID+

Log the pid with each message.