pub struct QuickwitLogEntry {
pub timestamp: u64,
pub level: String,
pub message: String,
pub module: Option<String>,
pub file: Option<String>,
pub line: Option<u32>,
pub process_id: Option<u32>,
pub thread_id: Option<String>,
pub custom_fields: HashMap<String, String>,
}Expand description
Quickwit 日志条目
Fields§
§timestamp: u64时间戳
level: String日志级别
message: String日志消息
module: Option<String>模块路径
file: Option<String>文件名
line: Option<u32>行号
process_id: Option<u32>进程 ID
thread_id: Option<String>线程 ID
custom_fields: HashMap<String, String>自定义字段
Implementations§
Trait Implementations§
Source§impl Clone for QuickwitLogEntry
impl Clone for QuickwitLogEntry
Source§fn clone(&self) -> QuickwitLogEntry
fn clone(&self) -> QuickwitLogEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for QuickwitLogEntry
impl RefUnwindSafe for QuickwitLogEntry
impl Send for QuickwitLogEntry
impl Sync for QuickwitLogEntry
impl Unpin for QuickwitLogEntry
impl UnsafeUnpin for QuickwitLogEntry
impl UnwindSafe for QuickwitLogEntry
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