Mutates the builder so that the result status will be logged every N invocations (without a stack trace) when this builder is converted to a Status.
Declared in <absl/status/status_builder.h>
Mutates the builder so that the result status will be logged every N invocations (without a stack trace) when this builder is converted to a Status.
StatusBuilder&
LogEveryN(
absl::LogSeverity level,
int n) &;
» more...
Mutates the builder so that the result status will be logged every N invocations (without a stack trace) when this builder is converted to a Status.
[[nodiscard]]
StatusBuilder&&
LogEveryN(
absl::LogSeverity level,
int n) &&;
» more...
*this to allow method chaining.
| Name | Description |
|---|---|
| level | The severity level at which to log the result status. |
| n | Log only once per n invocations. |