pub struct Record<'a> {
pub level: Level,
pub args: Arguments<'a>,
pub module_path: &'static str,
pub file: &'static str,
pub line: u32,
}
Expand description
A Record, unit of logging output with Metadata to enable filtering Module_path, file, line to inform on log’s source
Fields
level: Level
The verbosity level of the message.
args: Arguments<'a>
Available on non-
c_bindings
only.The message body.
module_path: &'static str
The module path of the message.
file: &'static str
The source file containing the message.
line: u32
The line containing the message.
Implementations
Trait Implementations
Auto Trait Implementations
impl<'a> !RefUnwindSafe for Record<'a>
impl<'a> !Send for Record<'a>
impl<'a> !Sync for Record<'a>
impl<'a> Unpin for Record<'a>
impl<'a> !UnwindSafe for Record<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more