Struct log::LogRecord
[−]
[src]
pub struct LogRecord<'a> { /* fields omitted */ }
The "payload" of a log message.
Methods
impl<'a> LogRecord<'a>
[src]
impl<'a> LogRecord<'a>
pub fn args(&self) -> &Arguments<'a>
[src]
pub fn args(&self) -> &Arguments<'a>
The message body.
pub fn metadata(&self) -> &LogMetadata
[src]
pub fn metadata(&self) -> &LogMetadata
Metadata about the log directive.
pub fn location(&self) -> &LogLocation
[src]
pub fn location(&self) -> &LogLocation
The location of the log directive.
pub fn level(&self) -> LogLevel
[src]
pub fn level(&self) -> LogLevel
The verbosity level of the message.
pub fn target(&self) -> &str
[src]
pub fn target(&self) -> &str
The name of the target of the directive.