Location:
LOGCLI.H
Link against: logcli.lib
class TLogConfig;
Encapsulates Log Engine configuration data.
Defined in TLogConfig
:
TLogConfig()
, iMaxEventAge
, iMaxLogSize
, iMaxRecentLogSize
IMPORT_C TLogConfig();
Sets the:
maximum age of events to zero
maximum number of events to appear in the log to zero
maximum number of events to appear in a recent event list to zero
TLogSize iMaxLogSize;
The maximum number of events that the event log holds.
If the number of event log entries exceeds this value, the oldest event is deleted from the log.
TLogRecentSize iMaxRecentLogSize;
The maximum number of events that a recent event list holds.
If the number of recent event list entries exceeds this value, the oldest event is removed from the list. Note, however, that the event is not deleted from the event log.
TLogAge iMaxEventAge;
The maximum age, in seconds, for which events can be retained in the event log.
Events older than this are automatically deleted from the event log.
Purging of events by age can be disabled by setting this value to 0.