mirror of
https://github.com/Astatin3/unshell.git
synced 2026-06-09 06:47:59 -06:00
Fix error in pretty logger.
This commit is contained in:
@@ -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 }));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user