logfmt v3.1.2 Logfmt.Decoder

Decodes a logfmt-style log line into a map.

Examples

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

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

Summary

Functions

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

See Logfmt.decode.