Struct opentelemetry_sdk::export::logs::LogData
source · pub struct LogData {
pub record: LogRecord,
pub resource: Cow<'static, Resource>,
pub instrumentation: InstrumentationLibrary,
}
Available on crate feature
logs
only.Expand description
LogData
associates a LogRecord
with a Resource
and
InstrumentationLibrary
.
Fields§
§record: LogRecord
Log record
resource: Cow<'static, Resource>
Resource for the emitter who produced this LogData
.
instrumentation: InstrumentationLibrary
Instrumentation details for the emitter who produced this LogData
.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for LogData
impl Send for LogData
impl Sync for LogData
impl Unpin for LogData
impl UnwindSafe for LogData
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