Compare commits

..

3 Commits

Author SHA1 Message Date
rascul 791f524959 reexport the log macros
8 months ago
rascul 0475a5db17 do feature on log not chrono
8 months ago
rascul 398250cbab use std feature of log crate
8 months ago

@ -13,4 +13,4 @@ edition = "2018"
[dependencies] [dependencies]
chrono = "0.4" chrono = "0.4"
colored = "2.0" colored = "2.0"
log = "0.4" log = { version = "0.4", features = ["std"] }

@ -3,6 +3,8 @@
use colored::*; use colored::*;
use log::{set_logger, set_max_level, Level, LevelFilter, Log, Metadata, Record, SetLoggerError}; use log::{set_logger, set_max_level, Level, LevelFilter, Log, Metadata, Record, SetLoggerError};
pub use log::{debug, error, info, trace, warn};
#[cfg(test)] #[cfg(test)]
mod tests; mod tests;

Loading…
Cancel
Save