(type egg)
(signature "syslog-port egg")
(timestamp 1612269487)
(sxml ((section 2 "Outdated egg!" (p "This is an egg for CHICKEN 4, the unsupported old release.  You're almost certainly looking for " (int-link "/eggref/5/syslog-port" "the CHICKEN 5 version of this egg") ", if it exists.") (p "If it does not exist, there may be equivalent functionality provided by another egg; have a look at the " (link "https://wiki.call-cc.org/chicken-projects/egg-index-5.html" "egg index") ". Otherwise, please consider porting this egg to the current version of CHICKEN.") (tags "egg")) (section 2 "syslog-port" (toc)) (section 2 "Description" (p "Write to syslog as an output port.") (p "The source for this extension is available " (link "https://git.foldling.org/chicken-syslog-port.git" "here") ".") (section 3 "Requirements" (ul (li (int-link "/egg/module-declarations" "module-declarations")) (li (int-link "/egg/syslog" "syslog"))))) (section 2 "API" (def (sig (procedure "(open-syslog identity priority #!optional (options opt/pid) (facility facility/user))" (id open-syslog))) (p "Creates an output port with the given syslog configuration.") (p "The resulting port will buffer output until a newline is encountered, at which point its contents will be flushed to the syslog.")) (def (sig (parameter "current-syslog-port" (id current-syslog-port))) (p "This parameter provides a default syslog port.") (p "Its starting value is a port that uses " (tt "(program-name)") " as its identity and " (tt "prio/info") " as its message priority."))) (section 2 "Author" (p (int-link "/users/evan-hanson" "Evan Hanson"))) (section 2 "License" (p "Copyright (c) 2016, 3-Clause BSD."))))
