diff options
| author | Graydon Hoare <graydon@mozilla.com> | 2011-12-22 10:30:04 -0800 |
|---|---|---|
| committer | Graydon Hoare <graydon@mozilla.com> | 2011-12-22 10:30:04 -0800 |
| commit | 3b610646317f3b2be49936dc113c684dc4910df6 (patch) | |
| tree | 58df1b80dde0d6b14cfdccb5c968c4b6b2db63a0 /src/rt/rust_log.cpp | |
| parent | 47d27af228e574e281184a10f9a98f47ecce32ac (diff) | |
| download | rust-3b610646317f3b2be49936dc113c684dc4910df6.tar.gz rust-3b610646317f3b2be49936dc113c684dc4910df6.zip | |
Revert all of yesterday's snapshots and try again. Cursed!
Diffstat (limited to 'src/rt/rust_log.cpp')
| -rw-r--r-- | src/rt/rust_log.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rt/rust_log.cpp b/src/rt/rust_log.cpp index 226ff2ff159..645bffb1c0a 100644 --- a/src/rt/rust_log.cpp +++ b/src/rt/rust_log.cpp @@ -129,12 +129,12 @@ struct log_directive { }; const size_t max_log_directives = 255; -const size_t max_log_level = 1; +const size_t max_log_level = 255; const size_t default_log_level = 0; // This is a rather ugly parser for strings in the form -// "crate1,crate2.mod3,crate3.x=1". Log levels are 0-1 for now, -// eventually we'll have 0-3. +// "crate1,crate2.mod3,crate3.x=1". Log levels are 0-255, +// with the most likely ones being 0-3 (defined in core::). size_t parse_logging_spec(char* spec, log_directive* dirs) { size_t dir = 0; while (dir < max_log_directives && *spec) { |
