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