pub struct LogData {
pub record: LogRecord,
pub instrumentation: InstrumentationScope,
}
👎Deprecated since 0.27.1: The struct is not used anywhere in the SDK and will be removed in the next major release.
Expand description
LogData
represents a single log event without resource context.
Fields§
§record: LogRecord
👎Deprecated since 0.27.1: The struct is not used anywhere in the SDK and will be removed in the next major release.
Log record
instrumentation: InstrumentationScope
👎Deprecated since 0.27.1: The struct is not used anywhere in the SDK and will be removed in the next major release.
Instrumentation details for the emitter who produced this LogEvent
.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LogData
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
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
)