#include "util/trace_logging/scoped_trace_operations.h"
#include "platform/api/trace_logging_platform.h"
#include "platform/base/trace_logging_activation.h"
#include "util/osp_logging.h"
#if defined(ENABLE_TRACE_LOGGING)
namespace openscreen::internal {
bool ScopedTraceOperation::TraceAsyncEnd(const uint32_t line,
const char* file,
TraceId id,
Error::Code e) { … }
ScopedTraceOperation::ScopedTraceOperation(TraceId trace_id,
TraceId parent_id,
TraceId root_id) { … }
ScopedTraceOperation::~ScopedTraceOperation() { … }
thread_local ScopedTraceOperation::TraceStack* ScopedTraceOperation::traces_ = …;
thread_local ScopedTraceOperation* ScopedTraceOperation::root_node_ = …;
std::atomic<std::uint64_t> ScopedTraceOperation::trace_id_counter_{ … };
TraceLoggerBase::TraceLoggerBase(TraceCategory category,
const char* name,
const char* file,
uint32_t line,
std::vector<TraceEvent::Argument> arguments,
TraceId current,
TraceId parent,
TraceId root)
: … { … }
TraceLoggerBase::TraceLoggerBase(TraceCategory category,
const char* name,
const char* file,
uint32_t line,
std::vector<TraceEvent::Argument> arguments,
TraceIdHierarchy ids)
: … { … }
SynchronousTraceLogger::~SynchronousTraceLogger() { … }
AsynchronousTraceLogger::~AsynchronousTraceLogger() { … }
TraceIdSetter::~TraceIdSetter() = default;
}
#endif