pub struct LogConsole {
pub target: ConsoleTarget,
pub level: Level,
pub format: LogFormat,
}Fields§
§target: ConsoleTarget§level: Levelmax log level in this file
format: LogFormatImplementations§
Source§impl LogConsole
impl LogConsole
pub fn new(target: ConsoleTarget, level: Level, format: LogFormat) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LogConsole
impl RefUnwindSafe for LogConsole
impl Send for LogConsole
impl Sync for LogConsole
impl Unpin for LogConsole
impl UnwindSafe for LogConsole
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