Struct slog::Record
[−]
[src]
pub struct Record<'a> { // some fields omitted }
Logging record
Methods
impl<'a> Record<'a>
[src]
fn msg(&self) -> Arguments
Get a log record message
fn level(&self) -> Level
Get record logging level
fn line(&self) -> u32
Get line number
fn column(&self) -> u32
Get error column
fn file(&self) -> &'static str
Get file path
fn target(&self) -> &str
Get target
Mostly for backward compatibility with log
fn module(&self) -> &'static str
Get module
fn function(&self) -> &'static str
Get module
fn values(&self) -> &'a [BorrowedKeyValue<'a>]
Record value-key pairs