Skip to main content

resolve_format

Function resolve_format 

Source
pub const fn resolve_format(
    format: LogFormat,
    stdout_is_terminal: bool,
) -> ResolvedFormat
Expand description

Resolves [log] format: auto is text in a terminal and JSON otherwise (pods).