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