[#absl-StatusBuilder-LogEvery-0f]
= xref:absl.adoc[absl]::xref:absl/StatusBuilder.adoc[StatusBuilder]::LogEvery
:relfileprefix: ../../
:mrdocs:

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&period;

== Synopsis

Declared in `&lt;absl&sol;status&sol;status&lowbar;builder&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
xref:absl/StatusBuilder.adoc[StatusBuilder]&&
LogEvery(
    xref:absl/LogSeverity.adoc[absl::LogSeverity] level,
    xref:absl/Duration.adoc[absl::Duration] period) &amp;&amp;;
----

== Description

This overrides the logging settings from earlier calls to any of the logging mutator functions&period; If period is `absl&colon;&colon;ZeroDuration()` or less, then this is equivalent to calling the `Log()` method&period;

== Return Value

`&ast;this` to allow method chaining&period;

[NOTE]
====
The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^].
====
== Parameters

[cols="1,4"]
|===
| Name| Description
| *level*
| The severity level at which to log the result status&period;
| *period*
| The minimum period between logged invocations&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
