Fix error in pretty logger.

This commit is contained in:
Michael Mikovsky
2026-03-04 09:30:27 -07:00
parent fd71e6930f
commit 76eb533911
3 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ pub fn log(message: &Record) {
impl PrettyLogger {
pub fn init() {
if !unsafe { crate::logger::IS_DEFAULT_LOGGER } {
if unsafe { crate::logger::IS_DEFAULT_LOGGER } {
crate::logger::set_logger_box(Box::new(PrettyLogger { output: None }));
}
}