pub struct LogRecord<'a> {
pub module_path: &'a str,
pub level: LogLevel,
pub args: &'a Arguments<'a>,
pub file: &'a str,
pub line: uint,
}A LogRecord is created by the logging macros, and passed as the only
argument to Loggers.
Fields
module_path | The module path of where the LogRecord originated.
|
level | The LogLevel of this record.
|
args | The arguments from the log line.
|
file | The file of where the LogRecord originated.
|
line | The line number of where the LogRecord originated.
|
Trait Implementations
Derived Implementations
Keyboard shortcuts
- ?
- Show this help dialog
- S
- Focus the search field
- ⇤
- Move up in search results
- ⇥
- Move down in search results
- ⏎
- Go to active search result
Search tricks
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct, enum,
trait, typedef (or
tdef).