Skip to main content

Module logfmt

Module logfmt 

Source
Expand description

The logfmt processor parses a logfmt line, such as level=info msg="hello world" duration=12ms, into an object.

Structsยง

LogfmtProcessor
Parses logfmt strings into objects.

Constantsยง

PROCESSOR_LOGFMT ๐Ÿ”’

Functionsยง

parse_logfmt ๐Ÿ”’
Parses a logfmt line into key-value pairs.
parse_quoted_value ๐Ÿ”’
Parses the rest of a double-quoted value; the opening quote is already consumed.