core: Document the log levels

This commit is contained in:
Brian Anderson 2012-01-24 00:54:17 -08:00
parent 93686543e6
commit 2898dcc5d9
1 changed files with 5 additions and 0 deletions

View File

@ -12,9 +12,14 @@ export option, some, none;
// 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