Skip to content

lhope/cl-syslog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Common Lisp interface to Syslog via foreign-function calls.  Perhaps
one should add support for talking to it via UDP.

Example:

  * (require :cl-syslog)

  * (syslog:log "myprog" :local7 :info "this is the message")
  "this is the message"

  * (syslog:log "myprog" :local7 :info "this is the message" syslog:+log-pid+)
  "this is the message"

  * (syslog:log "myprog" :local7 :info "this is the message" (+ syslog:+log-pid+ 
                                                                syslog:+log-cons+))
  "this is the message"
 
Then look in your /var/log/messages or other location if you have
tweaked your /etc/syslog.conf.

Erik.

About

A clone of the CFFI CVS version dated Tue Nov 28 19:46:09 2006

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published