diff --git a/Cargo.toml b/Cargo.toml index 0c42172..2d4a429 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "scribe" version = "0.5.0" -authors = ["Jason Travis Smith "] +authors = ["Jason Travis Smith "] description = "Handles logging." license = "" repository = "https://gitlab.com/CyberMages/scribe.git" diff --git a/src/lib.rs b/src/lib.rs index c27d0df..f66b915 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -114,7 +114,7 @@ fn get_logger() -> Option { let guard: Guard; - if STATE.load(Ordering::SeqCst) != LoggerStates::Initializing.into() + if STATE.load(Ordering::SeqCst) == LoggerStates::Initializing.into() { None }