diff options
| author | Oliver 'ker' Schneider <rust19446194516@oli-obk.de> | 2015-06-07 19:50:13 +0200 |
|---|---|---|
| committer | Oliver 'ker' Schneider <rust19446194516@oli-obk.de> | 2015-06-07 19:50:13 +0200 |
| commit | ec078a033bdd2a4d076f78f2e655b8c3e5e4bf6a (patch) | |
| tree | 1ec3554c23443ccc25e44eb90efa4f176fe33df9 /src/liblog | |
| parent | 2c8d75d655b7d0bf84178f464c47a79569a35f3c (diff) | |
| download | rust-ec078a033bdd2a4d076f78f2e655b8c3e5e4bf6a.tar.gz rust-ec078a033bdd2a4d076f78f2e655b8c3e5e4bf6a.zip | |
change some statics to constants
Diffstat (limited to 'src/liblog')
| -rw-r--r-- | src/liblog/directive.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liblog/directive.rs b/src/liblog/directive.rs index 9ea680c7efe..5d38a381e6b 100644 --- a/src/liblog/directive.rs +++ b/src/liblog/directive.rs @@ -17,7 +17,7 @@ pub struct LogDirective { pub level: u32, } -pub static LOG_LEVEL_NAMES: [&'static str; 4] = ["ERROR", "WARN", "INFO", +pub const LOG_LEVEL_NAMES: [&'static str; 4] = ["ERROR", "WARN", "INFO", "DEBUG"]; /// Parse an individual log level that is either a number or a symbolic log level |
