Struct log::LogRecord [] [src]

pub struct LogRecord<'a> {
    pub module_path: &'a str,
    pub level: LogLevel,
    pub args: Arguments<'a>,
    pub file: &'a str,
    pub line: u32,
}
🔬 This is a nightly-only experimental API. (rustc_private)

use the crates.io log library instead

A LogRecord is created by the logging macros, and passed as the only argument to Loggers.

Fields

🔬 This is a nightly-only experimental API. (rustc_private)

use the crates.io log library instead

The module path of where the LogRecord originated.

🔬 This is a nightly-only experimental API. (rustc_private)

use the crates.io log library instead

The LogLevel of this record.

🔬 This is a nightly-only experimental API. (rustc_private)

use the crates.io log library instead

The arguments from the log line.

🔬 This is a nightly-only experimental API. (rustc_private)

use the crates.io log library instead

The file of where the LogRecord originated.

🔬 This is a nightly-only experimental API. (rustc_private)

use the crates.io log library instead

The line number of where the LogRecord originated.

Trait Implementations

impl<'a> Debug for LogRecord<'a>
[src]

Formats the value using the given formatter.