[#absl-StatusBuilder-OnlyOutputToSink-01] = xref:absl.adoc[absl]::xref:absl/StatusBuilder.adoc[StatusBuilder]::OnlyOutputToSink :relfileprefix: ../../ :mrdocs: Mutates the builder so that the result status will only be logged to the provided `sink` 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 only be logged to the provided `sink` when this builder is converted to a status. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:absl/StatusBuilder.adoc[StatusBuilder]& xref:absl/StatusBuilder/OnlyOutputToSink-0b.adoc[OnlyOutputToSink](xref:absl/LogSink.adoc[absl::LogSink]* sink) &; ---- [.small]#xref:absl/StatusBuilder/OnlyOutputToSink-0b.adoc[_» more..._]# Mutates the builder so that the result status will only be logged to the provided `sink` when this builder is converted to a status. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[nodiscard]] xref:absl/StatusBuilder.adoc[StatusBuilder]&& xref:absl/StatusBuilder/OnlyOutputToSink-04.adoc[OnlyOutputToSink](xref:absl/LogSink.adoc[absl::LogSink]* sink) &&; ---- [.small]#xref:absl/StatusBuilder/OnlyOutputToSink-04.adoc[_» more..._]# == Return Value `*this` to allow method chaining. == Parameters [cols="1,4"] |=== | Name| Description | *sink* | The log sink to exclusively receive the result status. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#