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

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",