TLogConfig Class Reference

class TLogConfig

Encapsulates Log Engine configuration data.

CLogClient::GetConfig()

CLogClient::ChangeConfig()

Constructor & Destructor Documentation

TLogConfig()

IMPORT_CTLogConfig()

Member Functions Documentation

ExternalizeL(RWriteStream &)

voidExternalizeL(RWriteStream &aStream)const

Parameters

RWriteStream & aStream

InternalizeL(RReadStream &)

voidInternalizeL(RReadStream &aStream)

Parameters

RReadStream & aStream

Member Data Documentation

TLogAge iMaxEventAge

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

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

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.