pub struct LogStderr;Expand description
Built-in log callback that writes to stderr.
Formats each message as [level](scope): message\n.
Can be passed directly to set_logger:
use libghostty_vt::log;
log::set_logger(Some(Box::new(log::LogStderr)));Trait Implementations§
impl Copy for LogStderr
impl Eq for LogStderr
impl StructuralPartialEq for LogStderr
Auto Trait Implementations§
impl Freeze for LogStderr
impl RefUnwindSafe for LogStderr
impl Send for LogStderr
impl Sync for LogStderr
impl Unpin for LogStderr
impl UnsafeUnpin for LogStderr
impl UnwindSafe for LogStderr
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