diff options
-rw-r--r-- | app/src/logger.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/src/logger.rs b/app/src/logger.rs index 5ef08f7..9f9452e 100644 --- a/app/src/logger.rs +++ b/app/src/logger.rs @@ -1,3 +1,4 @@ +use crate::rtc; use rb::{Reader, RingBuffer, Writer}; use core::cell::UnsafeCell; @@ -94,7 +95,8 @@ where let jrb = unsafe { &mut JRB }; write!( jrb, - "[{}] {} -- {}\r\n", + "[{}] {} {} -- {}\r\n", + rtc::millis(), record.level(), record.target(), record.args() |