CLogBase Class Reference

class CLogBase : public CLogActive

Base class for the log engine implementation.

This class defines the interface that client code uses to perform simple actions on the log database.

The class provides default implementations for the event handling functions. The Log Engine, i.e. an instance of CLogClient, is derived from this class and provides implementations for the event handling functions.

The class also deals with some aspects of resource file handling.

An instance of this class is constructed by the log wrapper, CLogWrapper, if the phone does not implement logging.

An instance of this class is never constructed by clients.

CLogClient

CLogWrapper

Inherits from

Constructor & Destructor Documentation

CLogBase(TInt)

IMPORT_CCLogBase(TIntaPriority)

Parameters

TInt aPriority

~CLogBase()

IMPORT_C~CLogBase()

Member Functions Documentation

AddEvent(CLogEvent &, TRequestStatus &)

IMPORT_C voidAddEvent(CLogEvent &aEvent,
TRequestStatus &aStatus
)[virtual]

Parameters

CLogEvent & aEvent
TRequestStatus & aStatus

CLogBase_Reserved1()

IMPORT_C voidCLogBase_Reserved1()[private, virtual]

ChangeEvent(const CLogEvent &, TRequestStatus &)

IMPORT_C voidChangeEvent(const CLogEvent &aEvent,
TRequestStatus &aStatus
)[virtual]

Parameters

const CLogEvent & aEvent
TRequestStatus & aStatus

DeleteEvent(TLogId, TRequestStatus &)

IMPORT_C voidDeleteEvent(TLogIdaId,
TRequestStatus &aStatus
)[virtual]

Parameters

TLogId aId
TRequestStatus & aStatus

DoRunL()

voidDoRunL()[private, virtual]

GetEvent(CLogEvent &, TRequestStatus &)

IMPORT_C voidGetEvent(CLogEvent &aEvent,
TRequestStatus &aStatus
)[virtual]

Parameters

CLogEvent & aEvent
TRequestStatus & aStatus

GetString(TDes &, TInt)

IMPORT_C TIntGetString(TDes &aString,
TIntaId
)const [virtual]

Parameters

TDes & aString
TInt aId

LoadResourcesL(RFs &)

IMPORT_C voidLoadResourcesL(RFs &aFs)[protected]

Parameters

RFs & aFs

ResourceFile()

const CResourceFile *ResourceFile()const [protected, inline]

Member Data Documentation

TAny * CLogBase_Reserved

TAny *CLogBase_Reserved[private]

CResourceFile * iResourceFile

CResourceFile *iResourceFile[private]