```rs let logger = Logger { name: String::from("my_app") };
logger.info("no errors have been predicted"); logger.warn("an error has been predicted"); logger.error("an error occurred!");
// prints: // [myapp:INFO] no errors have been predicted // [myapp:WARNING] an error has been predicted // [my_app:ERROR] an error occurred! ```