absl::LogSeverityAtMost

Enums representing an upper bound for LogSeverity. APIs that only operate on messages of at most a certain level (for example, buffer all messages at or below a certain level) use this type to specify that level. absl::LogSeverityAtMost::kNegativeInfinity is a level below all threshold levels and therefore will exclude all log messages.

Synopsis

Declared in <absl/base/log_severity.h>

enum class LogSeverityAtMost : int;

Members

NameDescription
kNegativeInfinity A level below all threshold levels; excludes all log messages.
kInfo Threshold matching absl::LogSeverity::kInfo and below.
kWarning Threshold matching absl::LogSeverity::kWarning and below.
kError Threshold matching absl::LogSeverity::kError and below.
kFatal Threshold matching absl::LogSeverity::kFatal and below.

Non-Member Functions

NameDescription
operator<Compares an absl::LogSeverityAtMost threshold against an absl::LogSeverity value (in either operand order).
operator>=Compares an absl::LogSeverityAtMost threshold against an absl::LogSeverity value (in either operand order).