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