Struct log::LogLocation [] [src]

pub struct LogLocation {
    // some fields omitted
}

The location of a log message.

Warning

The fields of this struct are public so that they may be initialized by the log! macro. They are subject to change at any time and should never be accessed directly.

Methods

impl LogLocation
[src]

fn module_path(&self) -> &str

The module path of the message.

fn file(&self) -> &str

The source file containing the message.

fn line(&self) -> u32

The line containing the message.

Trait Implementations

impl Debug for LogLocation
[src]

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

Formats the value using the given formatter.

impl Clone for LogLocation
[src]

fn clone(&self) -> LogLocation

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl Copy for LogLocation
[src]