diff options
| author | Graydon Hoare <graydon@mozilla.com> | 2012-11-15 12:03:45 -0800 |
|---|---|---|
| committer | Graydon Hoare <graydon@mozilla.com> | 2012-11-15 12:03:54 -0800 |
| commit | 59a034a63fee084d503625d79ff986d0c12d1eaf (patch) | |
| tree | a20a8478db8e3e72c5ef06a32550aba78d481cd6 /src/rt/rust_log.cpp | |
| parent | adc4bed773ea6af7343a5a6bbe46e288367fecee (diff) | |
| download | rust-59a034a63fee084d503625d79ff986d0c12d1eaf.tar.gz rust-59a034a63fee084d503625d79ff986d0c12d1eaf.zip | |
rt: bump log levels up by one, fix tautological-compare error (and permit turning off logging entirely).
Diffstat (limited to 'src/rt/rust_log.cpp')
| -rw-r--r-- | src/rt/rust_log.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rt/rust_log.cpp b/src/rt/rust_log.cpp index 11671cf0326..5e478c7b18f 100644 --- a/src/rt/rust_log.cpp +++ b/src/rt/rust_log.cpp @@ -168,7 +168,7 @@ struct log_directive { const size_t max_log_directives = 255; const size_t max_log_level = 255; -const size_t default_log_level = 0; +const size_t default_log_level = log_err; // This is a rather ugly parser for strings in the form // "crate1,crate2.mod3,crate3.x=1". Log levels are 0-255, |
