Mutates the builder so that a stack trace will be logged if the status is logged.

Synopsis

Declared in <absl/status/status_builder.h>

[[nodiscard]]
StatusBuilder&&
EmitStackTrace() &&;

Description

One of the logging setters above should be called as well. If logging is not yet enabled this behaves as if LogInfo().EmitStackTrace() was called.

Return Value

*this to allow method chaining.

Note

The return value should not be discarded.

Created with MrDocs