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
level: Level
The verbosity level of the message.
args: Arguments<'a>
The message body.
module_path: &'a str
The module path of the message.
file: &'a str
The source file containing the message.
line: u32
The line containing the message.
Methods
impl<'a> Record<'a>
[src]
impl<'a> Record<'a>
pub fn new(
level: Level,
args: Arguments<'a>,
module_path: &'a str,
file: &'a str,
line: u32
) -> Record<'a>
[src]
pub fn new(
level: Level,
args: Arguments<'a>,
module_path: &'a str,
file: &'a str,
line: u32
) -> Record<'a>
Returns a new Record.
Trait Implementations
impl<'a> Clone for Record<'a>
[src]
impl<'a> Clone for Record<'a>
fn clone(&self) -> Record<'a>
[src]
fn clone(&self) -> Record<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<'a> Debug for Record<'a>
[src]
impl<'a> Debug for Record<'a>