Mutates the builder so that the result status will be logged once per period (without a stack trace) when this builder is converted to a Status.
Declared in <absl/status/status_builder.h>
StatusBuilder&
LogEvery(
absl::LogSeverity level,
absl::Duration period) &;
This overrides the logging settings from earlier calls to any of the logging mutator functions. If period is absl::ZeroDuration() or less, then this is equivalent to calling the Log() method.
*this to allow method chaining.
| Name | Description |
|---|---|
| level | The severity level at which to log the result status. |
| period | The minimum period between logged invocations. |