CX Framework
Cross-platform C utility framework
Loading...
Searching...
No Matches
LogFileConfig Struct Reference

#include <logfile.h>

Data Fields

int dateFormat
 Date format from LOG_DATE_FORMATS enum.
 
int rotateMode
 Rotation mode from LOG_ROTATE_MODE enum.
 
int spacing
 Number of spaces between prefix and message (default: 2)
 
uint32 flags
 Bitwise OR of LOG_FLAGS values.
 
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)
 

Detailed Description

Configuration for file-based logging

Controls output formatting, rotation behavior, and retention policies.

Definition at line 65 of file logfile.h.


The documentation for this struct was generated from the following file: