29 enum TLogLevel { ENone, ECritical, EMajor, EAll };
72 IMPORT_C
void Close();
89 IMPORT_C TInt
WriteLine(
const char* aText, TLogLevel aLevel = EAll);
108 IMPORT_C TInt
WriteLine(
const char* aText, TInt aInt, TLogLevel aLevel = EAll);
127 IMPORT_C TInt
WriteLine(
const char* aText, TUint32 aHex, TLogLevel aLevel = EAll);
144 IMPORT_C TInt
Write(
const char* aText, TLogLevel aLevel = EAll);
161 IMPORT_C TInt
Write(
const TInt aInt, TLogLevel aLevel = EAll);
178 IMPORT_C TInt
Write(
const TUint32 aHex, TLogLevel aLevel = EAll);
195 IMPORT_C TInt
Write(
const TUint8 aHex, TLogLevel aLevel = EAll);
212 IMPORT_C TInt
Write(
const char aChar, TLogLevel aLevel = EAll);
229 IMPORT_C TInt
Write(
const TDesC& aDesC, TLogLevel aLevel = EAll);
245 IMPORT_C TInt
NewLine(TLogLevel aLevel = EAll);
265 TLogLevel iLoggingLevel;
Provides output to a debug log on device (E:\debug.log). This slows down performance markedly.
Definition: SGEDebugLog.h:27
IMPORT_C void SetLoggingLevel(TLogLevel aLevel)
Determines the minimum priority level required for the entry to be written to the log.
Definition: SGEDebugLog.cpp:103
IMPORT_C TInt WriteLine(const char *aText, TLogLevel aLevel=EAll)
Writes a line to the debug log file.
Definition: SGEDebugLog.cpp:33
IMPORT_C RSGEDebugLog()
Default C++ Constructor.
Definition: SGEDebugLog.cpp:14
virtual IMPORT_C ~RSGEDebugLog()
Destructor.
Definition: SGEDebugLog.cpp:18
IMPORT_C TInt NewLine(TLogLevel aLevel=EAll)
Writes a newline character to the current position in the debug log file.
Definition: SGEDebugLog.cpp:96
IMPORT_C TInt Open()
Creates the log file (note this will overwrite any previous instance of the log file).
IMPORT_C void Close()
Closes the debug log file.
Definition: SGEDebugLog.cpp:29
IMPORT_C TInt Write(const char *aText, TLogLevel aLevel=EAll)
Writes text to the debug log file.
Definition: SGEDebugLog.cpp:54