Logging

Simple logging facility, for when standard output is otherwise in use.

(require (prefix-in log: (planet synx/log))) (log:log "test") (log:error "something went wrong ~a" 23) (log:warning "danger ~a robinson!" "will") (log:info "same as log:log")

It does everything on stderr. If you want syslog functionality, (with-error-to-file "/var/log/messages" #:exists 'append ...) :p