pub struct TracingLogger;Available on crate feature
tracing only.Expand description
Adapt libghostty logs into tracing events.
This is the preferred integration for applications that already use
tracing. The upstream callback only provides a level, scope, and message,
so the scope is recorded as the structured ghostty_scope field rather than
as the tracing target.
Trait Implementations§
Source§impl Clone for TracingLogger
impl Clone for TracingLogger
Source§fn clone(&self) -> TracingLogger
fn clone(&self) -> TracingLogger
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TracingLogger
Source§impl Debug for TracingLogger
impl Debug for TracingLogger
Source§impl Default for TracingLogger
impl Default for TracingLogger
Source§fn default() -> TracingLogger
fn default() -> TracingLogger
Returns the “default value” for a type. Read more
impl Eq for TracingLogger
Source§impl Logger for TracingLogger
impl Logger for TracingLogger
Source§impl PartialEq for TracingLogger
impl PartialEq for TracingLogger
impl StructuralPartialEq for TracingLogger
Auto Trait Implementations§
impl Freeze for TracingLogger
impl RefUnwindSafe for TracingLogger
impl Send for TracingLogger
impl Sync for TracingLogger
impl Unpin for TracingLogger
impl UnsafeUnpin for TracingLogger
impl UnwindSafe for TracingLogger
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