|
|
|
|
Location:
LOGCLI.H
Link against: logcli.lib
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.
CBase - Base class for all classes to be instantiated on the heapCLogEventType - Encapsulates the details of an event typeDefined in CLogEventType:
Copy(), Description(), LoggingEnabled(), NewL(), SetDescription(), SetLoggingEnabled(), SetUid(), Uid(), ~CLogEventType()
Inherited from CBase:
Delete(),
Extension_(),
operator new()
static IMPORT_C CLogEventType *NewL();
Creates a new event type detail object.
|
inline TUid Uid() const;
Gets the UID identifying the event type.
|
inline void SetUid(TUid aUid);
Sets the UID identifying the event type.
|
inline const TDesC &Description() const;
Gets the human readable and localised name of the event type.
|
inline void SetDescription(const TDesC &aDescription);
Sets the human readable and localised name of the event type.
For example, Email.
|
inline TBool LoggingEnabled() const;
Determines whether logging for this event type is enabled.
|
inline 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.
|
IMPORT_C void Copy(const CLogEventType &aType);
Makes a copy of the specified event type.
|