CLogEventType Class Reference
class CLogEventType : public CBase |
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.
CLogEvent::EventType() CLogEvent::SetEventType()
Constructor & Destructor Documentation
~CLogEventType()
Frees all resources owned by the event type detail object.
Member Functions Documentation
ConstructL()
void | ConstructL | ( | ) | [private] |
Copy(const CLogEventType &)
Makes a copy of the specified event type.
Description()
const TDesC & | Description | ( | ) | const [inline] |
Gets the human readable and localised name of the event type.
ExternalizeL(RWriteStream &)
InternalizeBufL(RReadStream &, HBufC *&)
InternalizeL(RReadStream &)
LoggingEnabled()
TBool
| LoggingEnabled | ( | ) | const [inline] |
Determines whether logging for this event type is enabled.
NewL()
Creates a new event type detail object.
SetDescription(const TDesC &)
void | SetDescription | ( | const TDesC & | aDescription | ) | [inline] |
Sets the human readable and localised name of the event type.
For example, Email.
Parameters
const TDesC & aDescription | The name. |
SetLoggingEnabled(TBool)
void | SetLoggingEnabled | ( | TBool | aEnable | ) | [inline] |
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.
CLogClient::AddEvent()
Parameters
TBool aEnable | ETrue, to enable logging for this event type.EFalse, to disable logging for this event type. |
SetUid(TUid)
void | SetUid | ( | TUid | aUid | ) | [inline] |
Sets the UID identifying the event type.
Uid()
Gets the UID identifying the event type.
Member Data Documentation
HBufC * iDescription
HBufC * | iDescription | [private] |
TBool
iLoggingEnabled
TBool
| iLoggingEnabled | [private] |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.