guanaqo 1.0.0-alpha.24
Utilities for scientific software
Loading...
Searching...
No Matches
trace.cpp
Go to the documentation of this file.
1#include <guanaqo/trace.hpp>
2
3namespace guanaqo {
4
5GUANAQO_EXPORT TraceLogger &get_trace_logger() {
6 static TraceLogger instance{16'384};
7 return instance;
8}
9
10} // namespace guanaqo
TraceLogger & get_trace_logger()
Get a reference to the global trace logger instance.
Definition trace.cpp:5
Class for recording trace logs, used when ITT or Perfetto tracing is not enabled.
Definition trace.hpp:107
Tracing logger and macros (ITT, Perfetto, or fallback).