| class RFileLogger : public RSessionBase |
Provides access methods to file logging.
The file logger API contains both static and non-static versions of access functions to the file logging system. Migrate to Open System Trace Instrumentation API instead
| Public Member Functions | |
|---|---|
| RFileLogger() | |
| ~RFileLogger() | |
| IMPORT_C void | CloseLog() |
| IMPORT_C TInt | Connect() |
| IMPORT_C void | CreateLog(const TDesC &, const TDesC &, TFileLoggingMode) |
| IMPORT_C void | HexDump(const TText *, const TText *, const TUint8 *, TInt) |
| IMPORT_C void | HexDump(const TDesC &, const TDesC &, TFileLoggingMode, const TText *, const TText *, const TUint8 *, TInt) |
| IMPORT_C TInt | LastError() |
| IMPORT_C TBool | LogSTI() |
| IMPORT_C TBool | LogValid() |
| IMPORT_C void | SetDateAndTime(TBool, TBool) |
| IMPORT_C TVersion | Version() |
| IMPORT_C void | Write(const TDesC16 &) |
| IMPORT_C void | Write(const TDesC8 &) |
| IMPORT_C void | Write(const TDesC &, const TDesC &, TFileLoggingMode, const TDesC16 &) |
| IMPORT_C void | Write(const TDesC &, const TDesC &, TFileLoggingMode, const TDesC8 &) |
| IMPORT_C void | WriteFormat(TRefByValue< const TDesC16 >, ...) |
| IMPORT_C void | WriteFormat(TRefByValue< const TDesC16 >, VA_LIST &) |
| IMPORT_C void | WriteFormat(TRefByValue< const TDesC8 >, ...) |
| IMPORT_C void | WriteFormat(TRefByValue< const TDesC8 >, VA_LIST &) |
| IMPORT_C void | WriteFormat(const TDesC &, const TDesC &, TFileLoggingMode, TRefByValue< const TDesC16 >, ...) |
| IMPORT_C void | WriteFormat(const TDesC &, const TDesC &, TFileLoggingMode, TRefByValue< const TDesC16 >, VA_LIST &) |
| IMPORT_C void | WriteFormat(const TDesC &, const TDesC &, TFileLoggingMode, TRefByValue< const TDesC8 >, ...) |
| IMPORT_C void | WriteFormat(const TDesC &, const TDesC &, TFileLoggingMode, TRefByValue< const TDesC8 >, VA_LIST &) |
| Private Member Functions | |
|---|---|
| TInt | DoConnect() |
| void | DoHexDump(const TText *, const TText *, const TUint8 *, TInt) |
| void | DoStaticWrite(const TDesC8 &) |
| void | DoStaticWriteFormat(const TDesC &, const TDesC &, TFileLoggingMode, TRefByValue< const TDesC16 >, VA_LIST &) |
| void | DoStaticWriteFormat(const TDesC &, const TDesC &, TFileLoggingMode, TRefByValue< const TDesC8 >, VA_LIST &) |
| void | DoWrite(const TDesC8 &) |
| void | DoWriteFormat(TRefByValue< const TDesC16 >, VA_LIST &) |
| void | DoWriteFormat(TRefByValue< const TDesC8 >, VA_LIST &) |
| Inherited Enumerations | |
|---|---|
| RHandleBase:TAttributes | |
| RSessionBase:TAttachMode | |
| Private Attributes | |
|---|---|
| TLogFormatter | iFormatter |
| TInt | iLastError |
| TLogFile | iLogFile |
| TBool | iLogSTI |
| Inherited Attributes | |
|---|---|
| RHandleBase::iHandle | |
| IMPORT_C void | CreateLog | ( | const TDesC & | aDir, |
| const TDesC & | aName, | |||
| TFileLoggingMode | aMode | |||
| ) | ||||
| const TDesC & aDir | |
| const TDesC & aName | |
| TFileLoggingMode aMode |
| void | DoHexDump | ( | const TText * | aHeader, |
| const TText * | aMargin, | |||
| const TUint8 * | aPtr, | |||
| TInt | aLen | |||
| ) | [private] | |||
| void | DoStaticWrite | ( | const TDesC8 & | aBuf | ) | [private] |
| const TDesC8 & aBuf |
| void | DoStaticWriteFormat | ( | const TDesC & | aDir, |
| const TDesC & | aName, | |||
| TFileLoggingMode | aMode, | |||
| TRefByValue< const TDesC16 > | aFmt, | |||
| VA_LIST & | aList | |||
| ) | [private, static] | |||
| const TDesC & aDir | |
| const TDesC & aName | |
| TFileLoggingMode aMode | |
| TRefByValue< const TDesC16 > aFmt | |
| VA_LIST & aList |
| void | DoStaticWriteFormat | ( | const TDesC & | aDir, |
| const TDesC & | aName, | |||
| TFileLoggingMode | aMode, | |||
| TRefByValue< const TDesC8 > | aFmt, | |||
| VA_LIST & | aList | |||
| ) | [private, static] | |||
| const TDesC & aDir | |
| const TDesC & aName | |
| TFileLoggingMode aMode | |
| TRefByValue< const TDesC8 > aFmt | |
| VA_LIST & aList |
| void | DoWriteFormat | ( | TRefByValue< const TDesC16 > | aFmt, |
| VA_LIST & | aList | |||
| ) | [private] | |||
| TRefByValue< const TDesC16 > aFmt | |
| VA_LIST & aList |
| void | DoWriteFormat | ( | TRefByValue< const TDesC8 > | aFmt, |
| VA_LIST & | aList | |||
| ) | [private] | |||
| TRefByValue< const TDesC8 > aFmt | |
| VA_LIST & aList |
| IMPORT_C void | HexDump | ( | const TText * | aHeader, |
| const TText * | aMargin, | |||
| const TUint8 * | aPtr, | |||
| TInt | aLen | |||
| ) | ||||
| IMPORT_C void | HexDump | ( | const TDesC & | aDir, |
| const TDesC & | aName, | |||
| TFileLoggingMode | aMode, | |||
| const TText * | aHeader, | |||
| const TText * | aMargin, | |||
| const TUint8 * | aPtr, | |||
| TInt | aLen | |||
| ) | [static] | |||
| IMPORT_C void | Write | ( | const TDesC & | aDir, |
| const TDesC & | aName, | |||
| TFileLoggingMode | aMode, | |||
| const TDesC16 & | aText | |||
| ) | [static] | |||
| const TDesC & aDir | |
| const TDesC & aName | |
| TFileLoggingMode aMode | |
| const TDesC16 & aText |
| IMPORT_C void | Write | ( | const TDesC & | aDir, |
| const TDesC & | aName, | |||
| TFileLoggingMode | aMode, | |||
| const TDesC8 & | aText | |||
| ) | [static] | |||
| const TDesC & aDir | |
| const TDesC & aName | |
| TFileLoggingMode aMode | |
| const TDesC8 & aText |
| IMPORT_C void | WriteFormat | ( | TRefByValue< const TDesC16 > | aFmt, |
| ... | ||||
| ) | ||||
| TRefByValue< const TDesC16 > aFmt | |
| ... |
| IMPORT_C void | WriteFormat | ( | TRefByValue< const TDesC16 > | aFmt, |
| VA_LIST & | aList | |||
| ) | ||||
| TRefByValue< const TDesC16 > aFmt | |
| VA_LIST & aList |
| IMPORT_C void | WriteFormat | ( | TRefByValue< const TDesC8 > | aFmt, |
| ... | ||||
| ) | ||||
| TRefByValue< const TDesC8 > aFmt | |
| ... |
| IMPORT_C void | WriteFormat | ( | TRefByValue< const TDesC8 > | aFmt, |
| VA_LIST & | aList | |||
| ) | ||||
| TRefByValue< const TDesC8 > aFmt | |
| VA_LIST & aList |
| IMPORT_C void | WriteFormat | ( | const TDesC & | aDir, |
| const TDesC & | aName, | |||
| TFileLoggingMode | aMode, | |||
| TRefByValue< const TDesC16 > | aFmt, | |||
| ... | ||||
| ) | [static] | |||
| const TDesC & aDir | |
| const TDesC & aName | |
| TFileLoggingMode aMode | |
| TRefByValue< const TDesC16 > aFmt | |
| ... |
| IMPORT_C void | WriteFormat | ( | const TDesC & | aDir, |
| const TDesC & | aName, | |||
| TFileLoggingMode | aMode, | |||
| TRefByValue< const TDesC16 > | aFmt, | |||
| VA_LIST & | aList | |||
| ) | [static] | |||
| const TDesC & aDir | |
| const TDesC & aName | |
| TFileLoggingMode aMode | |
| TRefByValue< const TDesC16 > aFmt | |
| VA_LIST & aList |
| IMPORT_C void | WriteFormat | ( | const TDesC & | aDir, |
| const TDesC & | aName, | |||
| TFileLoggingMode | aMode, | |||
| TRefByValue< const TDesC8 > | aFmt, | |||
| ... | ||||
| ) | [static] | |||
| const TDesC & aDir | |
| const TDesC & aName | |
| TFileLoggingMode aMode | |
| TRefByValue< const TDesC8 > aFmt | |
| ... |
| IMPORT_C void | WriteFormat | ( | const TDesC & | aDir, |
| const TDesC & | aName, | |||
| TFileLoggingMode | aMode, | |||
| TRefByValue< const TDesC8 > | aFmt, | |||
| VA_LIST & | aList | |||
| ) | [static] | |||
| const TDesC & aDir | |
| const TDesC & aName | |
| TFileLoggingMode aMode | |
| TRefByValue< const TDesC8 > aFmt | |
| VA_LIST & aList |