Struct QueueStats

Struct Documentation

struct QueueStats

Independently sampled values from the shared Cheryl pool, including flush requests.

Capacity discards span every Log using that pool and are not reset by close/reopen. Queued items exclude work already taken by the worker.

Public Members

std::size_t queued_items = 0

Items still queued in the shared pool, excluding items already taken by its worker.

std::size_t discarded_items = 0

Cumulative shared-pool capacity discards, including flush requests across every logger.