RDebugLog Class Reference

class RDebugLog : public CBase

Inherits from

Public Member Functions
RDebugLog()
~RDebugLog()
TPtrC8 ClassName8()
IMPORT_C voidCleanupClosePushL()
IMPORT_C voidClose()
IMPORT_C voidHexDump(const TDesC8 &, const TDesC8 &)
IMPORT_C voidLogLeakedObjects()
TUint32 ObjectAddress()
IMPORT_C voidOpen(const TDesC &, const TDesC8 &, TAny *)
IMPORT_C voidSetCloseBetweenWrites(TBool)
IMPORT_C voidWrite(const TDesC8 &, const TDesC16 &)
IMPORT_C voidWrite(const TDesC8 &, const TDesC8 &)
IMPORT_C voidWriteFormat(const TDesC8 &, TRefByValue< const TDesC16 >, ...)
IMPORT_C voidWriteFormat(const TDesC8 &, TRefByValue< const TDesC16 >, VA_LIST &)
IMPORT_C voidWriteFormat(const TDesC8 &, TRefByValue< const TDesC8 >, ...)
IMPORT_C voidWriteFormat(const TDesC8 &, TRefByValue< const TDesC8 >, VA_LIST &)
Private Member Functions
TBool PrepareForWrite()
voidStaticClose(TAny *)
voidWriteComplete()
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Private Attributes
TPtrC8 iClassName8
TBool iCloseBetweenWrites
TPtrC iLogDirectory
CLogFileHandler *iLogFileHandler
TAny *iObjectAddress

Constructor & Destructor Documentation

RDebugLog()

IMPORT_CRDebugLog()

~RDebugLog()

IMPORT_C~RDebugLog()[virtual]

Member Functions Documentation

ClassName8()

TPtrC8 ClassName8()

CleanupClosePushL()

IMPORT_C voidCleanupClosePushL()

Close()

IMPORT_C voidClose()

HexDump(const TDesC8 &, const TDesC8 &)

IMPORT_C voidHexDump(const TDesC8 &aFuncName8,
const TDesC8 &aBuffer
)const

Parameters

const TDesC8 & aFuncName8
const TDesC8 & aBuffer

LogLeakedObjects()

IMPORT_C voidLogLeakedObjects()[static]

ObjectAddress()

TUint32 ObjectAddress()

Open(const TDesC &, const TDesC8 &, TAny *)

IMPORT_C voidOpen(const TDesC &aLogDirectory,
const TDesC8 &aClassName8,
TAny *aObject
)

Parameters

const TDesC & aLogDirectory
const TDesC8 & aClassName8
TAny * aObject

PrepareForWrite()

TBool PrepareForWrite()[private]

SetCloseBetweenWrites(TBool)

IMPORT_C voidSetCloseBetweenWrites(TBoolaValue)

Parameters

TBool aValue

StaticClose(TAny *)

voidStaticClose(TAny *ptr)[private, static]

Parameters

TAny * ptr

Write(const TDesC8 &, const TDesC16 &)

IMPORT_C voidWrite(const TDesC8 &aFuncName8,
const TDesC16 &aText
)const

Parameters

const TDesC8 & aFuncName8
const TDesC16 & aText

Write(const TDesC8 &, const TDesC8 &)

IMPORT_C voidWrite(const TDesC8 &aFuncName8,
const TDesC8 &aText
)const

Parameters

const TDesC8 & aFuncName8
const TDesC8 & aText

WriteComplete()

voidWriteComplete()[private]

WriteFormat(const TDesC8 &, TRefByValue< const TDesC16 >, ...)

IMPORT_C voidWriteFormat(const TDesC8 &aFuncName8,
TRefByValue< const TDesC16 >aFmt,
...
)const

Parameters

const TDesC8 & aFuncName8
TRefByValue< const TDesC16 > aFmt
...

WriteFormat(const TDesC8 &, TRefByValue< const TDesC16 >, VA_LIST &)

IMPORT_C voidWriteFormat(const TDesC8 &aFuncName8,
TRefByValue< const TDesC16 >aFmt,
VA_LIST &aList
)const

Parameters

const TDesC8 & aFuncName8
TRefByValue< const TDesC16 > aFmt
VA_LIST & aList

WriteFormat(const TDesC8 &, TRefByValue< const TDesC8 >, ...)

IMPORT_C voidWriteFormat(const TDesC8 &aFuncName8,
TRefByValue< const TDesC8 >aFmt,
...
)const

Parameters

const TDesC8 & aFuncName8
TRefByValue< const TDesC8 > aFmt
...

WriteFormat(const TDesC8 &, TRefByValue< const TDesC8 >, VA_LIST &)

IMPORT_C voidWriteFormat(const TDesC8 &aFuncName8,
TRefByValue< const TDesC8 >aFmt,
VA_LIST &aList
)const

Parameters

const TDesC8 & aFuncName8
TRefByValue< const TDesC8 > aFmt
VA_LIST & aList

Member Data Documentation

TPtrC8 iClassName8

TPtrC8 iClassName8[private]

TBool iCloseBetweenWrites

TBool iCloseBetweenWrites[private]

TPtrC iLogDirectory

TPtrC iLogDirectory[private]

CLogFileHandler * iLogFileHandler

CLogFileHandler *iLogFileHandler[private]

TAny * iObjectAddress

TAny *iObjectAddress[private]