Skip to content

Commit e5a49a2

Browse files
committed
log: Swith field privacy as necessary
1 parent c9024d2 commit e5a49a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/liblog/directive.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ use std::cmp;
1212

1313
#[deriving(Show, Clone)]
1414
pub struct LogDirective {
15-
name: Option<~str>,
16-
level: u32,
15+
pub name: Option<~str>,
16+
pub level: u32,
1717
}
1818

1919
static LOG_LEVEL_NAMES: [&'static str, ..4] = ["error", "warn", "info",

0 commit comments

Comments
 (0)