pub struct LogInfo {
pub log_type: LogType,
pub location: String,
pub level: LogLevel,
pub tag: String,
pub content: String,
pub create_time: i64,
}Expand description
Structured log record delivered to logging listeners.
Fields§
§log_type: LogTypeStructured origin used to route records; never inferred from the tag.
location: StringSource file, line and column. Synthetic overflow records use an empty location.
level: LogLevelLog severity.
tag: StringOperation label, kept exactly as supplied (for example, start_session).
No origin, SDK prefix or severity suffix is added.
content: StringLog payload, often JSON formatted by the exported log macros.
create_time: i64Creation timestamp in Unix milliseconds.
Trait Implementations§
Auto Trait Implementations§
impl Forget for LogInfo
impl Freeze for LogInfo
impl Move for LogInfo
impl RefUnwindSafe for LogInfo
impl Send for LogInfo
impl Sync for LogInfo
impl Unpin for LogInfo
impl UnsafeUnpin for LogInfo
impl UnwindSafe for LogInfo
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