RAII guard for executing a trace. More...
Public Member Functions | |
guard (guard &&)=delete | |
Immovable. | |
guard (trace &t_) | |
Start a trace. | |
RAII guard for executing a trace.
Flog output is deferred to the end of the trace as needed.
Start a trace.
Required in certain contexts like use of std::optional
; otherwise prefer trace::make_guard
.