TLogConfig Class Reference

#include <logcli.h>

Link against: logcli.lib

class TLogConfig

Detailed Description

Encapsulates Log Engine configuration data.

See also: CLogClient::GetConfig() CLogClient::ChangeConfig()

Member Attribute Documentation

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.

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.

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.

Constructor & Destructor Documentation

TLogConfig ( )

IMPORT_CTLogConfig()

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

Member Function Documentation

ExternalizeL ( RWriteStream & )

voidExternalizeL(RWriteStream &aStream)const

InternalizeL ( RReadStream & )

voidInternalizeL(RReadStream &aStream)