File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
13
13
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
14
14
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
15
15
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
16
- refs/heads/auto: a64bb6623c0732e2b3f7f371f375dc70b58629b7
16
+ refs/heads/auto: 6532a8c95ac5ac4d695d689a944ca725716fc0a4
17
17
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
18
18
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
19
19
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336
Original file line number Diff line number Diff line change @@ -188,10 +188,10 @@ mod directive;
188
188
189
189
/// Maximum logging level of a module that can be specified. Common logging
190
190
/// levels are found in the DEBUG/INFO/WARN/ERROR constants.
191
- pub static MAX_LOG_LEVEL : u32 = 255 ;
191
+ pub const MAX_LOG_LEVEL : u32 = 255 ;
192
192
193
193
/// The default logging level of a crate if no other is specified.
194
- static DEFAULT_LOG_LEVEL : u32 = 1 ;
194
+ const DEFAULT_LOG_LEVEL : u32 = 1 ;
195
195
196
196
/// An unsafe constant that is the maximum logging level of any module
197
197
/// specified. This is the first line of defense to determining whether a
@@ -205,13 +205,13 @@ static mut DIRECTIVES: *const Vec<directive::LogDirective> =
205
205
static mut FILTER : * const Regex = 0 as * const _ ;
206
206
207
207
/// Debug log level
208
- pub static DEBUG : u32 = 4 ;
208
+ pub const DEBUG : u32 = 4 ;
209
209
/// Info log level
210
- pub static INFO : u32 = 3 ;
210
+ pub const INFO : u32 = 3 ;
211
211
/// Warn log level
212
- pub static WARN : u32 = 2 ;
212
+ pub const WARN : u32 = 2 ;
213
213
/// Error log level
214
- pub static ERROR : u32 = 1 ;
214
+ pub const ERROR : u32 = 1 ;
215
215
216
216
local_data_key ! ( local_logger: Box <Logger + Send >)
217
217
You can’t perform that action at this time.
0 commit comments