cli_log

Function cli_log 

Source
pub fn cli_log(level: CliLevel, text: &str, args: &[String])
Expand description

Core logging function used by CLI output macros.

Formats the text with provided arguments, applies word wrapping, and outputs according to the specified log level. When the log feature is enabled, also logs to the configured logging backend.

ยงArguments

  • level - The log level determining output behavior
  • text - The text to output (may contain {} placeholders)
  • args - Arguments to replace placeholders in the text