log: Swith field privacy as necessary

This commit is contained in:
Alex Crichton 2014-03-27 15:13:27 -07:00
parent c9024d2922
commit e5a49a2fcf
1 changed files with 2 additions and 2 deletions

View File

@ -12,8 +12,8 @@ use std::cmp;
#[deriving(Show, Clone)]
pub struct LogDirective {
name: Option<~str>,
level: u32,
pub name: Option<~str>,
pub level: u32,
}
static LOG_LEVEL_NAMES: [&'static str, ..4] = ["error", "warn", "info",