mirror of
https://github.com/rust-lang/rust
synced 2024-09-05 00:24:52 +00:00
core: Document the log levels
This commit is contained in:
parent
93686543e6
commit
2898dcc5d9
|
@ -12,9 +12,14 @@
|
|||
// warn-and-below.
|
||||
|
||||
export error, warn, info, debug;
|
||||
|
||||
#[doc = "The error log level"]
|
||||
const error : u32 = 0_u32;
|
||||
#[doc = "The warning log level"]
|
||||
const warn : u32 = 1_u32;
|
||||
#[doc = "The info log level"]
|
||||
const info : u32 = 2_u32;
|
||||
#[doc = "The debug log level"]
|
||||
const debug : u32 = 3_u32;
|
||||
|
||||
// A curious inner-module that's not exported that contains the binding
|
||||
|
|
Loading…
Reference in a new issue