userver: tracing::TracingStateGuard Class Reference
Loading...
Searching...
No Matches
tracing::TracingStateGuard Class Referencefinal

#include <userver/tracing/tracer.hpp>

Detailed Description

Isolates tests and benchmarks by resetting span logging configuration on construction: no suppressed spans, no span log level override and no sampling. Restores the previous configuration on destruction.

Definition at line 61 of file tracer.hpp.

Public Member Functions

 TracingStateGuard (const TracingStateGuard &)=delete
 TracingStateGuard (TracingStateGuard &&)=delete
TracingStateGuard & operator= (const TracingStateGuard &)=delete
TracingStateGuard & operator= (TracingStateGuard &&)=delete

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