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()

Inherits from

Constructor & Destructor Documentation

CLogEventType()

CLogEventType()[private]

~CLogEventType()

IMPORT_C~CLogEventType()

Member Functions Documentation

ConstructL()

voidConstructL()[private]

Copy(const CLogEventType &)

IMPORT_C voidCopy(const CLogEventType &aType)

Parameters

const CLogEventType & aType

Description()

const TDesC &Description()const [inline]

Gets the human readable and localised name of the event type.

A non-modifiable descriptor containing the name.

ExternalizeL(RWriteStream &)

voidExternalizeL(RWriteStream &aStream)const

Parameters

RWriteStream & aStream

InternalizeBufL(RReadStream &, HBufC *&)

voidInternalizeBufL(RReadStream &aStream,
HBufC *&aDes
)[private]

Parameters

RReadStream & aStream
HBufC *& aDes

InternalizeL(RReadStream &)

voidInternalizeL(RReadStream &aStream)

Parameters

RReadStream & aStream

LoggingEnabled()

TBool LoggingEnabled()const [inline]

Determines whether logging for this event type is enabled.

ETrue, if logging is enabled. EFalse, if logging is disabled.

NewL()

IMPORT_C CLogEventType *NewL()[static]

SetDescription(const TDesC &)

voidSetDescription(const TDesC &aDescription)[inline]

Sets the human readable and localised name of the event type.

For example, Email.

Parameters

const TDesC & aDescriptionThe name.

SetLoggingEnabled(TBool)

voidSetLoggingEnabled(TBoolaEnable)[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 aEnableETrue, to enable logging for this event type.EFalse, to disable logging for this event type.

SetUid(TUid)

voidSetUid(TUidaUid)[inline]

Sets the UID identifying the event type.

Parameters

TUid aUidThe Uid.

Uid()

TUid Uid()const [inline]

Gets the UID identifying the event type.

The UID.

Member Data Documentation

HBufC * iDescription

HBufC *iDescription[private]

TBool iLoggingEnabled

TBool iLoggingEnabled[private]

TUid iUid

TUid iUid[private]