![Symbian Developer Library](../../../../a_stock/images/mainheading.gif)
![]() |
![]() |
|
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 heap.
CLogEventType
- Encapsulates the details of an event type.
Defined in CLogEventType
:
Copy(const CLogEventType &)
Makes a copy of the specified event type.Description()const
Gets the human readable and localised name of the event type.LoggingEnabled()const
Determines whether logging for this event type is enabled.NewL()
Creates a new event type detail object.SetDescription(const TDesC &)
Sets the human readable and localised name of the event type.SetLoggingEnabled(TBool)
Enables or disables logging for this event type.SetUid(TUid)
Sets the UID identifying the event type.Uid()const
Gets the UID identifying the event type.~CLogEventType()
Frees all resources owned by the event type detail object. Inherited from CBase
:
Delete(CBase *)
Deletes the specified object.Extension_(TUint,TAny *&,TAny *)
Extension function operator new(TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TAny *)
Initialises the object to binary zeroes.operator new(TUint,TLeave)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TLeave,TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TUint)
Allocates the object from the heap and then initialises its contents to binary z...CLogEvent::EventType()const
Gets the type of this log event. Event types are identified by a UID.CLogEvent::SetEventType(TUid)
Sets the type of this log event. Event types are identified by a UID.IMPORT_C static 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.
|
CLogClient::AddEvent(CLogEvent &,TRequestStatus &)
Adds an event to the log database. This is an asynchronous request.IMPORT_C void Copy(const CLogEventType &aType);
Makes a copy of the specified event type.
|