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

Synopsis

Declared in <absl/status/status_builder.h>

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.

Created with MrDocs