#include <logcli.h>
class TLogConfig |
Public Attributes | |
---|---|
TLogAge | iMaxEventAge |
TLogSize | iMaxLogSize |
TLogRecentSize | iMaxRecentLogSize |
Public Member Functions | |
---|---|
TLogConfig() | |
void | ExternalizeL(RWriteStream &) |
void | InternalizeL(RReadStream &) |
Encapsulates Log Engine configuration data.
See also: CLogClient::GetConfig() CLogClient::ChangeConfig()
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.
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.
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