Struct opentelemetry_sdk::logs::Logger
source · pub struct Logger { /* private fields */ }
Expand description
The object for emitting LogRecord
s.
Implementations§
source§impl Logger
impl Logger
sourcepub fn provider(&self) -> &LoggerProvider
pub fn provider(&self) -> &LoggerProvider
LoggerProvider associated with this logger.
sourcepub fn instrumentation_library(&self) -> &InstrumentationLibrary
pub fn instrumentation_library(&self) -> &InstrumentationLibrary
Instrumentation library information of this logger.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Logger
impl !RefUnwindSafe for Logger
impl Send for Logger
impl Sync for Logger
impl Unpin for Logger
impl !UnwindSafe for Logger
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