userver: logging::stacktrace_cache::StacktraceGuard Class Reference
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
logging::stacktrace_cache::StacktraceGuard Class Reference

#include <userver/logging/stacktrace_cache.hpp>

Detailed Description

RAII-wrapper for GlobalEnableStacktrace. Should be used to temporarily enable stacktraces after GlobalEnableStacktrace(false).

Definition at line 24 of file stacktrace_cache.hpp.

Public Member Functions

 StacktraceGuard (bool enabled)
 

The documentation for this class was generated from the following file: