This tutorial describes how to configure Log Engine using TLogConfig
class.
There are three
parameters which you can configure at run time using a Log Engine client.
They are implemented as the three members of a [[[ERROR: [NOKX000E] Unable to find definition for key reference 'TLogConfig']]]TLogConfig
class:
iMaxLogSize
,
the maximum size of an event log,
iMaxRecentLogSize
,
the maximum size of a recent list, and
iMaxEventAge
,
the maximum age of a logged event.
To configure the Log Engine, do the following:
create a [[[ERROR: [NOKX000E] Unable to find definition for key reference 'TLogConfig']]]TLogConfig
object
iMaxLogSize
, iMaxRecentLogSize
and iMaxEventAge
ChangeConfig()
function
of a log client.
The Log Engine will be configured with new values.
The [[[ERROR: [NOKX000E] Unable to find definition for key reference 'TLogConfig']]]TLogConfig
class
also has the two functions [[[ERROR: [NOKX000E] Unable to find definition for key reference 'TLogConfig']]]InternalizeL()
and [[[ERROR: [NOKX000E] Unable to find definition for key reference 'TLogConfig']]]ExternalizeL()
which implement streaming input
and output of a [[[ERROR: [NOKX000E] Unable to find definition for key reference 'TLogConfig']]]TLogConfig
object.