taoensso.timbre.appenders.3rd-party.gelf

Appender that sends GELF messages to a centralized logging server
(e.g. Graylog). Requires https://github.com/Graylog2/gelfclient.

data->gelf-message

(data->gelf-message data)

gelf-appender

(gelf-appender gelf-server port)(gelf-appender gelf-server port protocol)
Returns a Timbre appender that sends gelf messages to a remote host. Params:
`gelf-server` - IP address or hostname string of the remote logging server
`port`        - TCP or UDP port on which the server listens
`protocol`    - e/o #{:tcp :udp}, defaults to :udp

make-gelf-transport

(make-gelf-transport host port protocol)
Returns a new GelfTransport object, capable of sending a GelfMessage to a
remote server. Params:
  `host`     - IP address or hostname string of the remote logging server
  `port`     - TCP or UDP port on which the server listens
  `protocol` - e/o #{:tcp :udp}

timbre-to-gelf-level

(timbre-to-gelf-level level)