Logfmt.Encoder

Encode a Dict into a logfmt-style log line.

Examples

iex> Logfmt.encode [foo: "bar"]
"foo=bar"

iex> Logfmt.encode [foo: "bar baz", qux: true]
"foo=\"bar baz\" qux=true"
Source

Summary

encode(list)

See Logfmt.encode

Functions

encode(list)

Specs:

See Logfmt.encode.

Source