CX Framework
Cross-platform C utility framework
Loading...
Searching...
No Matches
logring.h
Go to the documentation of this file.
1#pragma once
4
34
35#include <cx/log/log.h>
36
37CX_C_BEGIN
38
40#define LOG_BOOT_DEFAULT_ENTRIES 4096
41
43#define LOG_BOOT_DEFAULT_DURATION timeS(30)
44
80void logBootWindowBegin(int maxlevel, uint32 maxentries, uint64 maxbytes, int64 duration);
81
87
92
96uint32 logBootWindowCount(void);
97
99#define LOG_DEBUGRING_DEFAULT_ENTRIES 256
100
128bool logChanSetDebugRing(_In_opt_ LogChannel* chan, int maxlevel, uint32 maxentries, int triglevel);
129
137
142uint32 logChanDebugRingCount(_In_opt_ LogChannel* chan);
143
145
146CX_C_END
void logBootWindowEnd(void)
void logChanClearDebugRing(LogChannel *chan)
uint32 logBootWindowCount(void)
uint32 logChanDebugRingCount(LogChannel *chan)
void logBootWindowBegin(int maxlevel, uint32 maxentries, uint64 maxbytes, int64 duration)
bool logChanSetDebugRing(LogChannel *chan, int maxlevel, uint32 maxentries, int triglevel)
bool logBootWindowActive(void)
Core logging system API.