Skip to main content

chronon::observe::UnifiedLoggingConfig

Unified per-channel configuration for all event output. More...

#include <ObservationYAMLConfig.hpp>

Public Functions

Name
boolneedsTextOutput() const
boolneedsBinaryOutput() const

Public Attributes

Name
ChannelConfigwarn_channel
TraceChannelConfigtrace_channel
std::vector< TemporalFilter >temporal
ChannelConfiginfo_channel
ChannelConfigerror_channel
boolenabled
ChannelConfigdebug_channel
std::vector< CategoryPattern >categories

Detailed Description

struct chronon::observe::UnifiedLoggingConfig;

Unified per-channel configuration for all event output.

Each event type (debug/info/warn/error/trace) is an independent channel with its own enable/format settings; categories and temporal filters are shared.

Public Functions Documentation

function needsTextOutput

inline bool needsTextOutput() const

function needsBinaryOutput

inline bool needsBinaryOutput() const

Check if any channel uses Binary or Both format.

Public Attributes Documentation

variable warn_channel

ChannelConfig warn_channel;

variable trace_channel

TraceChannelConfig trace_channel;

variable temporal

std::vector< TemporalFilter > temporal;

variable info_channel

ChannelConfig info_channel;

variable error_channel

ChannelConfig error_channel;

variable enabled

bool enabled = true;

variable debug_channel

ChannelConfig debug_channel;

variable categories

std::vector< CategoryPattern > categories;

Updated on 2026-05-26 at 05:42:32 +0000