From 59a034a63fee084d503625d79ff986d0c12d1eaf Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Thu, 15 Nov 2012 12:03:45 -0800 Subject: rt: bump log levels up by one, fix tautological-compare error (and permit turning off logging entirely). --- src/rt/rust_log.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rt/rust_log.cpp') 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, -- cgit 1.4.1-3-g733a5