[#absl-StatusBuilder-LogEveryN-0e]
= xref:absl.adoc[absl]::xref:absl/StatusBuilder.adoc[StatusBuilder]::LogEveryN
:relfileprefix: ../../
:mrdocs:

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

== Synopses

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

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


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:absl/StatusBuilder.adoc[StatusBuilder]&
xref:absl/StatusBuilder/LogEveryN-00.adoc[LogEveryN](
    xref:absl/LogSeverity.adoc[absl::LogSeverity] level,
    int n) &amp;;
----

[.small]#xref:absl/StatusBuilder/LogEveryN-00.adoc[_» more&period;&period;&period;_]#

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


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
xref:absl/StatusBuilder.adoc[StatusBuilder]&&
xref:absl/StatusBuilder/LogEveryN-0c.adoc[LogEveryN](
    xref:absl/LogSeverity.adoc[absl::LogSeverity] level,
    int n) &amp;&amp;;
----

[.small]#xref:absl/StatusBuilder/LogEveryN-0c.adoc[_» more&period;&period;&period;_]#

== Return Value

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

== Parameters

[cols="1,4"]
|===
| Name| Description
| *level*
| The severity level at which to log the result status&period;
| *n*
| Log only once per `n` invocations&period;
|===


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