userver: logging::stacktrace_cache::StacktraceGuard Class Reference
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
logging::stacktrace_cache::StacktraceGuard Class Reference

Your opinion will help to improve our service

Leave a feedback >

#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: