Logfmt
Logfmt is a simple, human-readable log format designed for structured logging. It represents each log event as a single line containing a set of key=value pairs, separated by whitespace. The format emphasizes readability and easy parsing in streaming pipelines, making it popular in microservice architectures and infrastructure tooling. Each line stands alone and typically records fields such as time, level, and message, though any arbitrary key can be included.
Syntax: Fields are pairs of key and value joined by an equals sign. Values can be unquoted
Usage and tooling: Logfmt is language-agnostic with libraries in several languages, including Go (for example, github.com/go-logfmt/logfmt)
Relation and suitability: It is often contrasted with JSON for simplicity and compactness, and with plain text