utils_box_logger/
lib.rs

1//! # Summary
2//! A toolbox library that holds a useful collection of small unitilies written in Rust that make our life easier when writting Rust applications.
3//!
4//! # Utilities provided:
5//!
6//! ## Logger
7//! Initialize terminal and file loggers fast. Macros for log printing to either log or stdout (if a global logger is not initialized)
8//!
9//! Mininal Example:
10//! ```ignore
11//!     log_info!("INFO Test TO PRINTLN!");
12//!     log_debug!("DEBUG Test TO PRINTLN!");
13//!
14//!     terminal_logger_init(LevelFilter::Debug);
15//!
16//!     log_info!("INFO Test TO LOGGER!");
17//!     log_debug!("DEBUG Test TO LOGGER!");
18//!
19//! ```
20//!
21
22#[macro_use]
23pub mod logger;