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,
TFileLoggingMode aMode
)

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

Parameters

const TDesC & aDir Full Path of the log file.
const TDesC & aName Name of the log file.
TFileLoggingMode aMode Specifies 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)

void Set ( const TDesC & aDir,
const TDesC & aName,
TFileLoggingMode aMode
)

Sets values for iValid,iDirectory,iName and iMode.

Parameters

const TDesC & aDir Full Path of the log file.
const TDesC & aName Name of the log file.
TFileLoggingMode aMode Specifies whether data is appended or file is truncated.

SetValid(TBool)

void SetValid ( TBool aValid ) [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 & aLogFile log file.

Member Data Documentation

TFileName iDirectory

TFileName iDirectory [private]

TFileLoggingMode iMode

TFileLoggingMode iMode [private]

TFileName iName

TFileName iName [private]

TBool iValid

TBool iValid [private]