about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-03-27 15:13:27 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-03-31 15:47:35 -0700
commite5a49a2fcfbc98ec4c63654bab5d6b0da028fd79 (patch)
tree63baeb68d04aa3da8a4ed34b6aa7980f2d85d4da
parentc9024d2922059f875bcdd460c74bfe3f5bb7f237 (diff)
downloadrust-e5a49a2fcfbc98ec4c63654bab5d6b0da028fd79.tar.gz
rust-e5a49a2fcfbc98ec4c63654bab5d6b0da028fd79.zip
log: Swith field privacy as necessary
-rw-r--r--src/liblog/directive.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/liblog/directive.rs b/src/liblog/directive.rs
index 50639a59eb9..0d901d54e85 100644
--- a/src/liblog/directive.rs
+++ b/src/liblog/directive.rs
@@ -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",