pub fn init_logger(debug: 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.