Logfmt.Decoder (logfmt v3.3.3) View Source

Decodes a logfmt-style log line into a map.

Examples

iex> Logfmt.decode "foo=bar"
%{"foo" => "bar"}

iex> Logfmt.decode "foo=true"
%{"foo" => true}

Link to this section Summary

Link to this section Functions

Specs

decode(String.t()) :: map()

See Logfmt.decode.