pub struct FtLogFormatter;
Expand description
Default ftlog formatter
The default ftlog format is like:
INFO main [examples/ftlog.rs:27] Hello, world!
Since ftlog cannot customize timestamp, the corresponding part is omitted. The actual log output is like:
2022-11-22 17:02:12.574+08 0ms INFO main [examples/ftlog.rs:27] Hello, world!
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FtLogFormatter
impl RefUnwindSafe for FtLogFormatter
impl Send for FtLogFormatter
impl Sync for FtLogFormatter
impl Unpin for FtLogFormatter
impl UnwindSafe for FtLogFormatter
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more