|
CX Framework
Cross-platform C utility framework
|
File-based log destination with rotation support. More...
Go to the source code of this file.
Data Structures | |
| struct | LogFileConfig |
Typedefs | |
| typedef struct LogFileConfig | LogFileConfig |
| typedef struct LogFileData | LogFileData |
| Opaque handle for file logging state. | |
Enumerations | |
| enum | LOG_ROTATE_MODE { LOG_RotateSize = 1 , LOG_RotateTime } |
| Log rotation mode. More... | |
Functions | |
| LogDest * | logfileRegister (int maxlevel, strref chanfilter, VFS *vfs, strref filename, const LogFileConfig *config, LogSerializer *ser) |
| LogFileData * | logfileCreate (VFS *vfs, strref filename, const LogFileConfig *config, LogSerializer *ser) |
| void | logfileMsgFunc (const LogRecord *rec, void *userdata) |
| void | logfileBatchFunc (uint32 batchid, void *userdata) |
| void | logfileCloseFunc (void *userdata) |
File-based log destination with rotation support.
Definition in file logfile.h.