Liking cljdoc? Tell your friends :D
Clojure only.

io.rrudakov.timbre.syslog


syslog-appenderclj

(syslog-appender {:keys [host port facility ident no-stacktrace?]
                  :or {facility :log-user
                       host "localhost"
                       port syslog-udp-port
                       no-stacktrace? true}})

Return new timbre appender which publish messages to remote syslog.

The function accepts a single map with the following keys:

  • :host - remote host to connect (default: localhost)
  • :port - UDP port (default: 514)
  • :ident - application identity, part of RFC 3164 (default: nil)
  • :no-stacktrace? - whether publish or not stacktraces (default: true)

It's not recommended to modify the :output-fn.

Return new timbre appender which publish messages to remote syslog.

The function accepts a single map with the following keys:
- `:host` - remote host to connect (default: `localhost`)
- `:port` - UDP port (default: `514`)
- `:ident` - application identity, part of RFC 3164 (default: `nil`)
- `:no-stacktrace?` - whether publish or not stacktraces (default: `true`)

It's not recommended to modify the `:output-fn`. 
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close