Struct log::LogMetadata [] [src]

pub struct LogMetadata<'a> {
    // some fields omitted
}

Metadata about a log message.

Methods

impl<'a> LogMetadata<'a>

fn level(&self) -> LogLevel

The verbosity level of the message.

fn target(&self) -> &str

The name of the target of the directive.