[go: up one dir, main page]

Function default_level_token

Source
pub fn default_level_token(level: &Level) -> &'static str
Expand description

Default implementation for CologStyle::level_token

§Parameters

  • level: The log level of the message

§Returns

A &str which represents the token name for the given log level.