|
CX Framework
Cross-platform C utility framework
|
#include <logfile.h>
Data Fields | |
| int | rotateMode |
| Rotation mode from LOG_ROTATE_MODE enum. | |
| uint32 | flags |
| int64 | rotateSize |
| Size threshold for LOG_RotateSize mode (bytes) | |
| uint8 | rotateHour |
| Hour for LOG_RotateTime mode (0-23) | |
| uint8 | rotateMinute |
| Minute for LOG_RotateTime mode (0-59) | |
| uint8 | rotateSecond |
| Second for LOG_RotateTime mode (0-59) | |
| int | rotateKeepFiles |
| Minimum number of rotated files to keep (0 = unlimited) | |
| int64 | rotateKeepTime |
| Minimum time to keep rotated files (0 = no time limit) | |
Configuration for file-based logging
Controls rotation behavior and retention policies. Output formatting belongs to the serializer the file is created with, not here.
| uint32 LogFileConfig::flags |