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§
Source§impl Hash for LogConsole
impl Hash for LogConsole
Source§impl SinkConfigTrait for LogConsole
impl SinkConfigTrait for LogConsole
Source§fn write_hash(&self, hasher: &mut Box<dyn Hasher>)
fn write_hash(&self, hasher: &mut Box<dyn Hasher>)
Calculate hash for config comparision
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