joetjen.net
EN DE
← All libraries
Elixir

logger_logfmt

A logfmt formatter for Elixir’s Logger that outputs structured logs in the logfmt format.

Intention

logfmt stays readable in a terminal and parses cleanly in a log pipeline, which is the compromise plain text and JSON each miss on one side. This plugs into Logger as an ordinary formatter — no wrapper around your logging calls.

ElixirLogginglogfmt