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.
  • cargo - A reference to the Cargo struct containing information about the application.