pub struct DebugLogger { /* private fields */ }Expand description
A logger that writes to the debug output (DebugLogger), the messages of its level and above.
A message with a type is written with the name of the type as its category, as
Debug.WriteLine(message, category) writes it: Category: message.
Implementations§
Trait Implementations§
Source§impl Default for DebugLogger
impl Default for DebugLogger
Source§impl ILogger for DebugLogger
impl ILogger for DebugLogger
Source§fn write_exception(
&self,
exception: &dyn Error,
message: &str,
log_level: LogLevel,
)
fn write_exception( &self, exception: &dyn Error, message: &str, log_level: LogLevel, )
Writes
message with exception (Write(Exception, string, LogLevel)).Auto Trait Implementations§
impl !Freeze for DebugLogger
impl !RefUnwindSafe for DebugLogger
impl !Sync for DebugLogger
impl Send for DebugLogger
impl Unpin for DebugLogger
impl UnsafeUnpin for DebugLogger
impl UnwindSafe for DebugLogger
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