Keeps track of an individual source location and how many available bytes are left for logging from it.
Declared in <logging.h>
struct Stats;
| Name | Description |
|---|---|
Stats [constructor] | Construct with the initial number of available bytes. |
Consume | Updates internal accounting and returns true if enough available_bytes were remaining |
| Name | Description |
|---|---|
m_available_bytes | Remaining bytes |
m_dropped_bytes | Number of bytes that were consumed but didn't fit in the available bytes. |