Skip to main content

Crate rlg

Crate rlg 

Source
Expand description

rlg โ€” tail, filter, and convert structured log streams.

The binary reads canonical JSON-shaped rlg records (one per line) from stdin or a file, applies the --min-level, --component, and --attr filters, and re-emits each surviving record in the format selected with --format.

Structsยง

Cli ๐Ÿ”’
rlg โ€” jq for structured logs.

Enumsยง

LevelArg ๐Ÿ”’
CLI-friendly mirror of [LogLevel].
OutputFormat ๐Ÿ”’
CLI-friendly mirror of [LogFormat].

Functionsยง

build_filter ๐Ÿ”’
main ๐Ÿ”’
run ๐Ÿ”’