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

Name

Description

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

Name

Description

MinLogLevel

Returns the value of the Minimum Log Level parameter.

SetMinLogLevel

Updates the value of Minimum Log Level parameter.

SetStderrThreshold

Updates the Stderr Threshold parameter.

StderrThreshold

Returns 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).

Created with MrDocs