diff options
author | Brian Carlstrom <bdc@google.com> | 2013-07-17 21:53:13 -0700 |
---|---|---|
committer | Brian Carlstrom <bdc@google.com> | 2013-07-17 23:23:12 -0700 |
commit | f69863b3039fc621ff4250e262d2a024d5e79ec8 (patch) | |
tree | b6d40c4019de2155f8753f83b4750bd3a3514d7a /runtime/base | |
parent | 93ba893c20532990a430741e0a97212900094e8c (diff) | |
download | art-f69863b3039fc621ff4250e262d2a024d5e79ec8.zip art-f69863b3039fc621ff4250e262d2a024d5e79ec8.tar.gz art-f69863b3039fc621ff4250e262d2a024d5e79ec8.tar.bz2 |
Fix cpplint whitespace/newline issues
Change-Id: Ie2049d9f667339e41f36c4f5d09f0d10d8d2c762
Diffstat (limited to 'runtime/base')
-rw-r--r-- | runtime/base/logging.cc | 28 |
1 files changed, 21 insertions, 7 deletions
diff --git a/runtime/base/logging.cc b/runtime/base/logging.cc index 2c6b6a8..bf19e8d 100644 --- a/runtime/base/logging.cc +++ b/runtime/base/logging.cc @@ -87,14 +87,28 @@ void InitLogging(char* argv[]) { std::string spec(specs[i]); if (spec.size() == 3 && StartsWith(spec, "*:")) { switch (spec[2]) { - case 'v': gMinimumLogSeverity = VERBOSE; continue; - case 'd': gMinimumLogSeverity = DEBUG; continue; - case 'i': gMinimumLogSeverity = INFO; continue; - case 'w': gMinimumLogSeverity = WARNING; continue; - case 'e': gMinimumLogSeverity = ERROR; continue; - case 'f': gMinimumLogSeverity = FATAL; continue; + case 'v': + gMinimumLogSeverity = VERBOSE; + continue; + case 'd': + gMinimumLogSeverity = DEBUG; + continue; + case 'i': + gMinimumLogSeverity = INFO; + continue; + case 'w': + gMinimumLogSeverity = WARNING; + continue; + case 'e': + gMinimumLogSeverity = ERROR; + continue; + case 'f': + gMinimumLogSeverity = FATAL; + continue; // liblog will even suppress FATAL if you say 's' for silent, but that's crazy! - case 's': gMinimumLogSeverity = FATAL; continue; + case 's': + gMinimumLogSeverity = FATAL; + continue; } } LOG(FATAL) << "unsupported '" << spec << "' in ANDROID_LOG_TAGS (" << tags << ")"; |