Skip to content

ludus::foundation::logging::LogStatistics

Ludus Wiki · API overview · Browse API

Struct

Counters describing logging throughput and back-pressure.
Meanings are distinct (requirements R48): Submitted counts admitted attempts; Written counts records actually handed to at least one sink and reported OK; Dropped counts records lost to overflow/failure. A failed delivery never inflates Written.

Declared in modules/foundation/logging/include/ludus/foundation/logging/log_system.hpp

#include <ludus/foundation/logging/log_system.hpp>
struct ludus::foundation::logging::LogStatistics

Fields

Submitted

uint64 ludus::foundation::logging::LogStatistics::Submitted = 0

Related types: uint64

Declared in modules/foundation/logging/include/ludus/foundation/logging/log_system.hpp

Written

uint64 ludus::foundation::logging::LogStatistics::Written = 0

Related types: uint64

Declared in modules/foundation/logging/include/ludus/foundation/logging/log_system.hpp

Dropped

uint64 ludus::foundation::logging::LogStatistics::Dropped = 0

Related types: uint64

Declared in modules/foundation/logging/include/ludus/foundation/logging/log_system.hpp