absl::LogSeverityAtLeast

Enums representing a lower bound for LogSeverity. APIs that only operate on messages of at least a certain level (for example, SetMinLogLevel()) use this type to specify that level. absl::LogSeverityAtLeast::kInfinity is a level above all threshold levels and therefore no log message will ever meet this threshold.

Synopsis

Declared in <absl/base/log_severity.h>

enum class LogSeverityAtLeast : int;

Members

NameDescription
kInfo Threshold matching absl::LogSeverity::kInfo and above.
kWarning Threshold matching absl::LogSeverity::kWarning and above.
kError Threshold matching absl::LogSeverity::kError and above.
kFatal Threshold matching absl::LogSeverity::kFatal and above.
kInfinity A level above all threshold levels; no log message will ever meet this threshold.

Non-Member Functions

NameDescription
MinLogLevelReturns the value of the Minimum Log Level parameter.
SetMinLogLevelUpdates the value of Minimum Log Level parameter.
SetStderrThresholdUpdates the Stderr Threshold parameter.
StderrThresholdReturns the value of the Stderr Threshold parameter.
operator<=Compares an absl::LogSeverityAtLeast threshold against an absl::LogSeverity value (in either operand order).
operator>Compares an absl::LogSeverityAtLeast threshold against an absl::LogSeverity value (in either operand order).