29 virtual void pushScope(std::string_view subsystem, std::string_view operation) = 0;
36 [[nodiscard]]
virtual std::uint32_t
currentDepth() const noexcept = 0;
47 [[nodiscard]] virtual const
IClock &
clock() const noexcept = 0;
Abstract clock interface for simulation time.
Tracer interface used by kernel subsystems.
virtual void setMinLevel(TraceLevel level) noexcept=0
Sets minimum event level that will be emitted.
virtual ~ITracer()=default
Virtual destructor for polymorphic cleanup.
virtual std::uint32_t currentDepth() const noexcept=0
Returns current tracing depth for this tracer.
virtual const IClock & clock() const noexcept=0
Returns tracer clock reference.
virtual void pushScope(std::string_view subsystem, std::string_view operation)=0
Enters a nested tracing scope.
virtual void trace(const TraceEvent &event)=0
Emits a pre-constructed trace event.
virtual TraceLevel minLevel() const noexcept=0
Returns minimum event level that will be emitted.
virtual void popScope()=0
Leaves the current tracing scope.
TraceLevel
Trace event severity.
Structured trace event record.
Structured trace event record shared by tracing components.