diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-03-27 15:13:27 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-03-31 15:47:35 -0700 |
| commit | e5a49a2fcfbc98ec4c63654bab5d6b0da028fd79 (patch) | |
| tree | 63baeb68d04aa3da8a4ed34b6aa7980f2d85d4da | |
| parent | c9024d2922059f875bcdd460c74bfe3f5bb7f237 (diff) | |
| download | rust-e5a49a2fcfbc98ec4c63654bab5d6b0da028fd79.tar.gz rust-e5a49a2fcfbc98ec4c63654bab5d6b0da028fd79.zip | |
log: Swith field privacy as necessary
| -rw-r--r-- | src/liblog/directive.rs | 4 |
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", |
