userver
C++ Async Framework
Toggle main menu visibility
Loading...
Searching...
No Matches
stacktrace_cache.hpp
Go to the documentation of this file.
1
#pragma once
2
6
7
#include <string>
8
9
#include <boost/stacktrace/stacktrace_fwd.hpp>
10
11
USERVER_NAMESPACE_BEGIN
12
14
namespace
logging::stacktrace_cache
{
15
18
std::string
to_string
(
const
boost::stacktrace::stacktrace& st);
// NOLINT(readability-identifier-naming)
19
28
std::string
SymbolizeAddress
(
const
void
* pc);
29
34
bool
GlobalEnableStacktrace
(
bool
enable);
35
38
class
StacktraceGuard {
39
public
:
40
explicit
StacktraceGuard(
bool
enabled);
41
42
~StacktraceGuard();
43
44
private
:
45
const
bool
old_;
46
};
47
48
}
// namespace logging::stacktrace_cache
49
50
USERVER_NAMESPACE_END
userver
logging
stacktrace_cache.hpp
Generated on
for userver by
Doxygen
1.17.0