Logfmt.decode
You're seeing just the function
decode
, go back to Logfmt module for more information.
Specs
Decodes the given line into a map.
Examples
iex> Logfmt.decode "foo=bar baz=qux"
%{"foo" => "bar", "baz" => "qux"}
iex> Logfmt.decode ~s(foo="bar baz")
%{"foo" => "bar baz"}
iex> Logfmt.decode "foo=true"
%{"foo" => true}
iex> Logfmt.decode "foo=1"
%{"foo" => 1}