Skip to content

Commit 2898dcc

Browse files
committed
core: Document the log levels
1 parent 9368654 commit 2898dcc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/libcore/core.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,14 @@ export option, some, none;
1212
// warn-and-below.
1313

1414
export error, warn, info, debug;
15+
16+
#[doc = "The error log level"]
1517
const error : u32 = 0_u32;
18+
#[doc = "The warning log level"]
1619
const warn : u32 = 1_u32;
20+
#[doc = "The info log level"]
1721
const info : u32 = 2_u32;
22+
#[doc = "The debug log level"]
1823
const debug : u32 = 3_u32;
1924

2025
// A curious inner-module that's not exported that contains the binding

0 commit comments

Comments
 (0)