Struct log::LogLocation [] [src]

pub struct LogLocation {
    // some fields omitted

The location of a log message.


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.


impl LogLocation

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

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