Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <LOGCLI.H>
Link against: logcli.lib

Class TLogConfig

class TLogConfig;

Description

Encapsulates Log Engine configuration data.

Members

Defined in TLogConfig:

See also:


Construction and destruction


TLogConfig()

IMPORT_C TLogConfig();

Description

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

[Top]


Member data


iMaxLogSize

TLogSize iMaxLogSize;

Description

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;

Description

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.


iMaxEventAge

TLogAge iMaxEventAge;

Description

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.