Logger.Backend.Splunk (logger_splunk_backend v3.0.0)

Logger backend to write logs to Splunk.

Link to this section Summary

Functions

Given a log message (and various metadata), return a JSON event as an iolist.

Link to this section Functions

Link to this function

format_message(msg, level, ts, md, state)

Specs

format_message(
  iodata(),
  Logger.level(),
  Logger.Formatter.time(),
  Logger.metadata(),
  map()
) :: iodata()

Given a log message (and various metadata), return a JSON event as an iolist.