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↑
decode(string) | See |
Functions
Specs:
- decode(String.t) :: map
See Logfmt.decode
.