Location:
logcli.h
Link against: logcli.lib
CLogEventType
Supported from 6.0
Encapsulates the details of an event type.
An event type is used to associate an event with a user-readable description and other configuration information related to the event.
Event types are identified by UID.
|
Defined in CLogEventType
:
Copy()
, Description()
, LoggingEnabled()
, NewL()
, SetDescription()
, SetLoggingEnabled()
, SetUid()
, Uid()
, ~CLogEventType()
Inherited from CBase
:
operator new()
static CLogEventType* NewL();
Creates a new event type detail object.
|
void SetDescription(const TDesC& aDescription);
Sets the human readable and localised name of the event type.
For example, Email
.
|
const TDesC& Description() const;
Gets the human readable and localised name of the event type.
|
void SetUid(TUid aUid);
Sets the UID identifying the event type.
|
TUid Uid() const;
Gets the UID identifying the event type.
|
void SetLoggingEnabled(TBool aEnable);
Enables or disables logging for this event type.
Note that disabling the logging of an event type causes a
CLogClient::AddEventL()
request for an event of that type to
complete with an appropriate error.
|
TBool LoggingEnabled() const;
Determines whether logging for this event type is enabled.
|
void Copy(const CLogEventType& aType);
Makes a copy of the specified event type.
|