#include <logcli.h>
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.
Parameter | Description |
---|---|
aType | The event type to be copied. |
const TDesC & | Description | ( | ) | const [inline] |
Gets the human readable and localised name of the event type.
Returns: A non-modifiable descriptor containing the name.
TBool | LoggingEnabled | ( | ) | const [inline] |
Determines whether logging for this event type is enabled.
Returns: ETrue, if logging is enabled. EFalse, if logging is disabled.
IMPORT_C CLogEventType * | NewL | ( | ) | [static] |
Creates a new event type detail object.
Returns: Pointer to the 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.
Parameter | Description |
---|---|
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()
Parameter | Description |
---|---|
aEnable | ETrue, to enable logging for this event type.EFalse, to disable logging for this event type. |
void | SetUid | ( | TUid | aUid | ) | [inline] |
Sets the UID identifying the event type.
Parameter | Description |
---|---|
aUid | The Uid. |