Struct opentelemetry::sdk::logs::Config
source · pub struct Config {
pub resource: Cow<'static, Resource>,
}
Available on crate feature
logs
only.Expand description
Log emitter configuration.
Fields§
§resource: Cow<'static, Resource>
Contains attributes representing an entity that produces telemetry.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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