TLogFile Class Reference

class TLogFile

General access to packaged log files. Migrate to Open System Trace Instrumentation API instead

Constructor & Destructor Documentation

TLogFile()

TLogFile()

TLogFile class definition Sets initial values for iValid and iMode.

TLogFile(const TDesC &, const TDesC &, TFileLoggingMode)

TLogFile(const TDesC &aDir,
const TDesC &aName,
TFileLoggingModeaMode
)

Sets initial values for iValid,iDirectory,iName and iMode.

Parameters

const TDesC & aDirFull Path of the log file.
const TDesC & aNameName of the log file.
TFileLoggingMode aModeSpecifies whether data is appended or file is truncated.

Member Functions Documentation

Directory()

TFileName Directory()const [inline]

Mode()

TFileLoggingMode Mode()const [inline]

Name()

TFileName Name()const [inline]

Set(const TDesC &, const TDesC &, TFileLoggingMode)

voidSet(const TDesC &aDir,
const TDesC &aName,
TFileLoggingModeaMode
)

Sets values for iValid,iDirectory,iName and iMode.

Parameters

const TDesC & aDirFull Path of the log file.
const TDesC & aNameName of the log file.
TFileLoggingMode aModeSpecifies whether data is appended or file is truncated.

SetValid(TBool)

voidSetValid(TBoolaValid)[inline]

Sets iValid with the value aValid.

Parameters

TBool aValid

Valid()

TBool Valid()const [inline]

TLogFile inline functions

operator==(const TLogFile &)

TBool operator==(const TLogFile &aLogFile)const

iValid members need not be equal

Parameters

const TLogFile & aLogFilelog file.

Member Data Documentation

TFileName iDirectory

TFileName iDirectory[private]

TFileLoggingMode iMode

TFileLoggingMode iMode[private]

TFileName iName

TFileName iName[private]

TBool iValid

TBool iValid[private]