Returns the all-caps string representation (e.g. "INFO") of the specified severity level if it is one of the standard levels and "UNKNOWN" otherwise.
Declared in <absl/base/log_severity.h>
constexpr
char const*
LogSeverityName(absl::LogSeverity s);
The all-caps name of s, or "UNKNOWN" if s is not a standard level.
| Name | Description |
|---|---|
| s | The severity level to name. |