Struct lightning::util::logger::Record[][src]

pub struct Record<'a> {
    pub level: Level,
    pub args: Arguments<'a>,
    pub module_path: &'a str,
    pub file: &'a str,
    pub line: u32,
}

A Record, unit of logging output with Metadata to enable filtering Module_path, file, line to inform on log's source

Fields

The verbosity level of the message.

The message body.

The module path of the message.

The source file containing the message.

The line containing the message.

Methods

impl<'a> Record<'a>
[src]

Returns a new Record.

Trait Implementations

impl<'a> Clone for Record<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Debug for Record<'a>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a> !Send for Record<'a>

impl<'a> !Sync for Record<'a>