TLogFile Class Reference

#include <flogger.h>

Link against: flogger.lib

class TLogFile

Detailed Description

General access to packaged log files. DeprecatedMigrate 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.

ParameterDescription
aDirFull Path of the log file.
aNameName of the log file.
aModeSpecifies whether data is appended or file is truncated.

Member Function Documentation

Directory ( )

TFileName Directory()const [inline]

Returns: iDirectory the full path of the folder.

Mode ( )

TFileLoggingMode Mode()const [inline]

Returns: iMode the mode of the log file.

Name ( )

TFileName Name()const [inline]

Returns: iName the file name of the log.

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

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

Sets values for iValid,iDirectory,iName and iMode.

ParameterDescription
aDirFull Path of the log file.
aNameName of the log file.
aModeSpecifies whether data is appended or file is truncated.

SetValid ( TBool )

voidSetValid(TBoolaValid)[inline]

Sets iValid with the value aValid.

Valid ( )

TBool Valid()const [inline]

TLogFile inline functions

Returns: EFalse for invalid file name.

operator== ( const TLogFile & )

TBool operator==(const TLogFile &aLogFile)const

iValid members need not be equal

ParameterDescription
aLogFilelog file.