cubos::core::tel namespace

Telemetry module.

Classes

class Logger
Singleton which holds the logging state.
class Metrics
Singleton class that manages a collection of metrics.
struct SpanId
Uniquely identifies a span.
class SpanGuard
A guard object that automatically ends the current span when it goes out of scope.
class SpanManager
Manages the creation and ending of spans.

Enums

enum class Level { Trace = CUBOS_TEL_LEVEL_TRACE, Debug = CUBOS_TEL_LEVEL_DEBUG, Info = CUBOS_TEL_LEVEL_INFO, Warn = CUBOS_TEL_LEVEL_WARN, Error = CUBOS_TEL_LEVEL_ERROR, Critical = CUBOS_TEL_LEVEL_CRITICAL, Off = CUBOS_TEL_LEVEL_OFF }
Represents a telemetry level.

Functions

void level(Level level)
Set telemetry level.
auto level() -> Level -> auto
Get telemetry level.
void abort()
Aborts the program and prints a pretty stack trace.