Mutates the builder so that the result status will only be logged to the provided sink when this builder is converted to a status.
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.
StatusBuilder&
OnlyOutputToSink(absl::LogSink* sink) &;
» 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.
[[nodiscard]]
StatusBuilder&&
OnlyOutputToSink(absl::LogSink* sink) &&;
» more...
*this to allow method chaining.
| Name | Description |
|---|---|
| sink | The log sink to exclusively receive the result status. |