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) -> &LogMetadataMetadata about the log directive.
pub fn location(&self) -> &LogLocation[src]
pub fn location(&self) -> &LogLocationThe location of the log directive.
pub fn level(&self) -> LogLevel[src]
pub fn level(&self) -> LogLevelThe verbosity level of the message.
pub fn target(&self) -> &str[src]
pub fn target(&self) -> &strThe name of the target of the directive.