about summary refs log tree commit diff
path: root/absl/base/log_severity.h
diff options
context:
space:
mode:
authorAbseil Team <absl-team@google.com>2018-02-02T18·36-0800
committerjueminyang <jueminyang@google.com>2018-02-02T21·26-0500
commit0fa86cac406d12de03ed670bbd2af3be7c848c03 (patch)
tree2ecd272dd78fd8b53d1c274a7b13483709fc6b10 /absl/base/log_severity.h
parent0ec11bad6fc18822e851b25344f027491cc85746 (diff)
Changes imported from Abseil "staging" branch:
  - 14488f5397315b265d57b50e6796890107e0efb2 Clarify comment on absl::NormalizeLogSeverity. by Abseil Team <absl-team@google.com>
  - 401dcf3fdb121e8356e8f54c9f2838faad9ffdf7 Internal change. by Alex Strelnikov <strel@google.com>
  - 1401400b77f8cb5d11fac414c89ffc3b55713f41 Remove unnecessary extern specifier on function declarati... by Alex Strelnikov <strel@google.com>
  - 97d1079d0e8930b1d77bda7bac5e4d15e0e74278 Add missing explicit casts between signed and unsigned in... by Alex Strelnikov <strel@google.com>
  - 47c4138142900de510e4c5426b4bf606252d7dac Internal change. by Alex Strelnikov <strel@google.com>
  - 40eb2555499a000adb78a6581215c701fa818568 Documentation fixes for `absl::optional`, for the `value_... by Abseil Team <absl-team@google.com>

GitOrigin-RevId: 14488f5397315b265d57b50e6796890107e0efb2
Change-Id: I3c11216c0c6ef5633aa5cc3b7f5977fa4a3ea1f5
Diffstat (limited to 'absl/base/log_severity.h')
-rw-r--r--absl/base/log_severity.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/base/log_severity.h b/absl/base/log_severity.h
index e026665eb650..e146bcb05a49 100644
--- a/absl/base/log_severity.h
+++ b/absl/base/log_severity.h
@@ -46,7 +46,7 @@ constexpr const char* LogSeverityName(absl::LogSeverity s) {
                          : s == absl::LogSeverity::kFatal ? "FATAL" : "UNKNOWN";
 }
 
-// Note that out-of-range large severities normalize to kError, not kFatal.
+// Note that out-of-range severities normalize to kInfo or kError, never kFatal.
 constexpr absl::LogSeverity NormalizeLogSeverity(absl::LogSeverity s) {
   return s < absl::LogSeverity::kInfo
              ? absl::LogSeverity::kInfo