Struct log::LogLocation [-]  [+] [src]

pub struct LogLocation {
    pub module_path: &'static str,
    pub file: &'static str,
    pub line: usize,
}

The location of a log message.

Fields

module_path

The module path of the message.

file

The source file containing the message.

line

The line containing the message.

Trait Implementations

Derived Implementations

impl Debug for LogLocation

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for LogLocation

fn clone(&self) -> LogLocation

fn clone_from(&mut self, source: &Self)

impl Copy for LogLocation