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
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.