Mutates the builder so that the result status will also 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 also be logged to the provided sink when this builder is converted to a status.

Mutates the builder so that the result status will also be logged to the provided sink when this builder is converted to a status.

[[nodiscard]]
StatusBuilder&&
AlsoOutputToSink(absl::LogSink* sink) &&;

Return Value

*this to allow method chaining.

Parameters

Name

Description

sink

The log sink to also receive the result status.

Created with MrDocs