Mutates the builder so that the result status will be logged (without a stack trace) when this builder is converted to a Status.

Synopsis

Declared in <absl/status/status_builder.h>

[[nodiscard]]
StatusBuilder&&
Log(absl::LogSeverity level) &&;

Description

This overrides the logging settings from earlier calls to any of the logging mutator functions.

Return Value

*this to allow method chaining.

Note

The return value should not be discarded.

Parameters

Name

Description

level

The severity level at which to log the result status.

Created with MrDocs