Struct opentelemetry::logs::NoopLoggerProvider
source · pub struct NoopLoggerProvider(/* private fields */);
Expand description
A no-op implementation of a LoggerProvider
.
Implementations§
Trait Implementations§
source§impl Clone for NoopLoggerProvider
impl Clone for NoopLoggerProvider
source§fn clone(&self) -> NoopLoggerProvider
fn clone(&self) -> NoopLoggerProvider
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for NoopLoggerProvider
impl Debug for NoopLoggerProvider
source§impl Default for NoopLoggerProvider
impl Default for NoopLoggerProvider
source§fn default() -> NoopLoggerProvider
fn default() -> NoopLoggerProvider
Returns the “default value” for a type. Read more
source§impl LoggerProvider for NoopLoggerProvider
impl LoggerProvider for NoopLoggerProvider
source§fn logger_with_scope(&self, _scope: InstrumentationScope) -> Self::Logger
fn logger_with_scope(&self, _scope: InstrumentationScope) -> Self::Logger
Returns a new logger with the given instrumentation scope. Read more
Auto Trait Implementations§
impl Freeze for NoopLoggerProvider
impl RefUnwindSafe for NoopLoggerProvider
impl Send for NoopLoggerProvider
impl Sync for NoopLoggerProvider
impl Unpin for NoopLoggerProvider
impl UnwindSafe for NoopLoggerProvider
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)