userver
C++ Async Framework
Loading...
Searching...
No Matches
tracer.hpp
1
#
pragma
once
2
3
#
include
<
string
>
4
5
#
include
<
dynamic_config
/
variables
/
USERVER_NO_LOG_SPANS
.
hpp
>
6
7
USERVER_NAMESPACE_BEGIN
8
9
/// Tracing support via @ref tracing::Span
10
namespace
tracing
{
11
12
using
NoLogSpans = ::dynamic_config::userver_no_log_spans::VariableType;
13
14
/// Sets the global configuration for disabling logging some of the @ref tracing::Span.
15
void
SetNoLogSpans
(NoLogSpans&& spans);
16
17
/// Returns true iff the @ref tracing::Span with `name` is not logged.
18
bool
IsNoLogSpan
(
const
std::string& name);
19
20
}
// namespace tracing
21
22
USERVER_NAMESPACE_END
userver
tracing
tracer.hpp
Generated on Wed Apr 1 2026 10:48:35 for userver by
Doxygen
1.13.2