diff options
author | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-23 19:28:07 +0000 |
---|---|---|
committer | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-23 19:28:07 +0000 |
commit | 909116fdb8f7eaaf225bdf3314fdf4e46d42f115 (patch) | |
tree | 48e13a067667ee3ed6e3103ff0cc6d1355043dba /base/logging.cc | |
parent | ead68fa16bb57be280d19b30e6b592fd8f6192a0 (diff) | |
download | chromium_src-909116fdb8f7eaaf225bdf3314fdf4e46d42f115.zip chromium_src-909116fdb8f7eaaf225bdf3314fdf4e46d42f115.tar.gz chromium_src-909116fdb8f7eaaf225bdf3314fdf4e46d42f115.tar.bz2 |
Fixed logging so that vmodule works correctly again
Removed extraneous check in LogMessage destructor; all the checks are
now done before LogMessage is created.
Removed useless warning if --vmodule is used but --v is not.
BUG=None
TEST=Manual
Review URL: http://codereview.chromium.org/5329001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67131 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/logging.cc')
-rw-r--r-- | base/logging.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/base/logging.cc b/base/logging.cc index 74f9a87..e3cedc7 100644 --- a/base/logging.cc +++ b/base/logging.cc @@ -596,12 +596,6 @@ void LogMessage::Init(const char* file, int line) { } LogMessage::~LogMessage() { - // The macros in logging.h should already avoid creating LogMessages - // when this holds, but it's possible that users create LogMessages - // directly (e.g., using LOG_STREAM() directly). - if (severity_ < min_log_level) - return; - #ifndef NDEBUG if (severity_ == LOG_FATAL) { // Include a stack trace on a fatal. |