diff --git a/Cargo.lock b/Cargo.lock index 3bbc49c..ed4a445 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -183,7 +183,7 @@ dependencies = [ [[package]] name = "actix-web-utils" -version = "0.1.9" +version = "0.2.0" dependencies = [ "actix-web", "log", diff --git a/Cargo.toml b/Cargo.toml index f64c393..3459c5c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "actix-web-utils" -version = "0.1.9" +version = "0.2.0" edition = "2021" authors = ["Franklin E. Blanco"] description = "Just some useful addons for actix web." diff --git a/src/utils/logger_util.rs b/src/utils/logger_util.rs index 1eb8d18..585d45e 100644 --- a/src/utils/logger_util.rs +++ b/src/utils/logger_util.rs @@ -2,7 +2,7 @@ use log::{SetLoggerError, LevelFilter}; use crate::extensions::logger::SimpleLogger; -static LOGGER: SimpleLogger = SimpleLogger; +pub static LOGGER: SimpleLogger = SimpleLogger; pub fn init_logger_default() -> Result<(), SetLoggerError> { log::set_logger(&LOGGER)