init_logger

Function init_logger 

Source
pub fn init_logger(debug: bool, utc: bool, crate_name: &String)
Expand description

Initializes the logger based on the provided debug flag and cargo information.

ยงArguments

  • debug - A flag indicating whether to enable debug mode for detailed logging.
  • crate_name - Name of the crate loaded during compile time.