#include <logcli.h>
Link against: logcli.lib
| class CLogEventType : public CBase | 
| Public Member Functions | |
|---|---|
| ~CLogEventType() | |
| IMPORT_C void | Copy(const CLogEventType &) | 
| const TDesC & | Description() | 
| void | ExternalizeL(RWriteStream &) | 
| void | InternalizeL(RReadStream &) | 
| TBool | LoggingEnabled() | 
| IMPORT_C CLogEventType * | NewL() | 
| void | SetDescription(const TDesC &) | 
| void | SetLoggingEnabled(TBool) | 
| void | SetUid(TUid) | 
| TUid | Uid() | 
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.
| IMPORT_C | ~CLogEventType | ( | ) | 
Frees all resources owned by the event type detail object.
| IMPORT_C void | Copy | ( | const CLogEventType & | aType | ) | 
Makes a copy of the specified event type.
| Parameters | |
|---|---|
| aType | The event type to be copied. | 
| const TDesC & | Description | ( | ) | const [inline] | 
Gets the human readable and localised name of the event type.
| void | ExternalizeL | ( | RWriteStream & | aStream | ) | const | 
| void | InternalizeL | ( | RReadStream & | aStream | ) | 
| TBool | LoggingEnabled | ( | ) | const [inline] | 
Determines whether logging for this event type is enabled.
| IMPORT_C CLogEventType * | NewL | ( | ) | [static] | 
Creates a new event type detail object.
| void | SetDescription | ( | const TDesC & | aDescription | ) | [inline] | 
Sets the human readable and localised name of the event type.
For example, Email.
| Parameters | |
|---|---|
| aDescription | The name. | 
| 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.
See also: CLogClient::AddEvent()
| Parameters | |
|---|---|
| aEnable | ETrue, to enable logging for this event type.EFalse, to disable logging for this event type. |