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.
Synopses
Declared in <absl/status/status_builder.h>
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.
StatusBuilder&
LogEvery(
absl::LogSeverity level,
absl::Duration period) &;
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.
[[nodiscard]]
StatusBuilder&&
LogEvery(
absl::LogSeverity level,
absl::Duration period) &&;
Return Value
*this to allow method chaining.
Parameters
Name |
Description |
level |
The severity level at which to log the result status. |
period |
The minimum period between logged invocations. |
Created with MrDocs