|
CX Framework
Cross-platform C utility framework
|
Bounded retention rings: the boot window, and the retroactive debug ring. More...
#include <cx/log/log.h>Go to the source code of this file.
Macros | |
| #define | LOG_BOOT_DEFAULT_ENTRIES 4096 |
| Entries the boot window retains when no count is given. | |
| #define | LOG_BOOT_DEFAULT_DURATION timeS(30) |
| How long the boot window stays open when no duration is given. | |
| #define | LOG_DEBUGRING_DEFAULT_ENTRIES 256 |
| Entries a debug ring retains when no count is given. | |
Functions | |
| void | logBootWindowBegin (int maxlevel, uint32 maxentries, uint64 maxbytes, int64 duration) |
| void | logBootWindowEnd (void) |
| bool | logBootWindowActive (void) |
| uint32 | logBootWindowCount (void) |
| bool | logChanSetDebugRing (LogChannel *chan, int maxlevel, uint32 maxentries, int triglevel) |
| void | logChanClearDebugRing (LogChannel *chan) |
| uint32 | logChanDebugRingCount (LogChannel *chan) |
Bounded retention rings: the boot window, and the retroactive debug ring.
Definition in file logring.h.