

Public Member Functions | |
| ILogMessages * | SetLog (ILogMessages &log) |
| void | ClearLog () |
| virtual void | SetThreadIdentifier (const std::string &identifier) |
| Sets the identifier used in the log for the current thread to the supplied string. The thread identifier defaults to the thread id in the form "XXX: ", the string supplied as an identifier does not need to include the ": " as this will be appended automatically. It can be any string that will help you to identify the thread concerned. | |
| virtual void | SetThreadIdentifier (const std::wstring &identifier) |
| Sets the identifier used in the log for the current thread to the supplied string. The thread identifier defaults to the thread id in the form "XXX: ", the string supplied as an identifier does not need to include the ": " as this will be appended automatically. It can be any string that will help you to identify the thread concerned. | |
| virtual void | SetLogName (const std::string &name) |
| virtual void | SetLogName (const std::wstring &name) |
| virtual void | LogMessage (const std::string &message) |
| virtual void | LogMessage (const std::wstring &message) |
| virtual void | LogMessage (const char *const pString) |
| virtual void | LogMessage (const wchar_t *const pString) |
| virtual void | LogMessage (const char *const pString, const DataLength stringLength) |
| virtual void | LogMessage (const wchar_t *const pString, const DataLength stringLength) |
Static Public Member Functions | |
| static CDebugTrace & | Instance () |
Classes | |
| class | LogInstaller |
| A class that takes an instance of ILogMessages and installs it as the message log used by the CDebugTrace class and then removes it and reinstalls the previous log in its destructor. It can, therefore, be used to support scope based log installation and removal. More... | |
| CDebugTrace & Instance | ( | ) | [static] |
| ILogMessages * SetLog | ( | ILogMessages & | log | ) | [inherited] |
| void ClearLog | ( | ) | [inherited] |
| void SetThreadIdentifier | ( | const std::string & | identifier | ) | [virtual, inherited] |
Sets the identifier used in the log for the current thread to the supplied string. The thread identifier defaults to the thread id in the form "XXX: ", the string supplied as an identifier does not need to include the ": " as this will be appended automatically. It can be any string that will help you to identify the thread concerned.
Implements ILogMessages.
| void SetThreadIdentifier | ( | const std::wstring & | identifier | ) | [virtual, inherited] |
Sets the identifier used in the log for the current thread to the supplied string. The thread identifier defaults to the thread id in the form "XXX: ", the string supplied as an identifier does not need to include the ": " as this will be appended automatically. It can be any string that will help you to identify the thread concerned.
Implements ILogMessages.
| void SetLogName | ( | const std::string & | name | ) | [virtual, inherited] |
Implements ILogMessages.
| void SetLogName | ( | const std::wstring & | name | ) | [virtual, inherited] |
Implements ILogMessages.
| void LogMessage | ( | const std::string & | message | ) | [virtual, inherited] |
Implements ILogMessages.
| void LogMessage | ( | const std::wstring & | message | ) | [virtual, inherited] |
Implements ILogMessages.
| void LogMessage | ( | const char *const | pString | ) | [virtual, inherited] |
Implements ILogMessages.
| void LogMessage | ( | const wchar_t *const | pString | ) | [virtual, inherited] |
Implements ILogMessages.
| void LogMessage | ( | const char *const | pString, | |
| const DataLength | stringLength | |||
| ) | [virtual, inherited] |
Implements ILogMessages.
| void LogMessage | ( | const wchar_t *const | pString, | |
| const DataLength | stringLength | |||
| ) | [virtual, inherited] |
Implements ILogMessages.
1.5.3