Singleton class ErrorLogger. More...
#include <yarp/manager/utility.h>
Public Member Functions | |
| void | addWarning (const char *szWarning) |
| void | addWarning (const std::string &str) |
| void | addWarning (OSTRINGSTREAM &stream) |
| void | addError (const char *szError) |
| void | addError (const std::string &str) |
| void | addError (OSTRINGSTREAM &stream) |
| const char * | getLastError () |
| const char * | getLastWarning () |
| const char * | getFormatedErrorString () |
| const char * | getFormatedWarningString () |
| void | clear () |
| int | errorCount () |
| int | warningCount () |
Static Public Member Functions | |
| static ErrorLogger * | Instance () |
| Singleton class ErrorLogger. More... | |
Singleton class ErrorLogger.
| void ErrorLogger::addError | ( | const char * | szError | ) |
Definition at line 121 of file utility.cpp.
| void ErrorLogger::addError | ( | const std::string & | str | ) |
Definition at line 126 of file utility.cpp.
| void ErrorLogger::addError | ( | OSTRINGSTREAM & | stream | ) |
Definition at line 130 of file utility.cpp.
| void ErrorLogger::addWarning | ( | const char * | szWarning | ) |
Definition at line 108 of file utility.cpp.
| void ErrorLogger::addWarning | ( | const std::string & | str | ) |
Definition at line 113 of file utility.cpp.
| void ErrorLogger::addWarning | ( | OSTRINGSTREAM & | stream | ) |
Definition at line 117 of file utility.cpp.
| void ErrorLogger::clear | ( | ) |
Definition at line 169 of file utility.cpp.
| int ErrorLogger::errorCount | ( | ) |
Definition at line 173 of file utility.cpp.
| const char * ErrorLogger::getFormatedErrorString | ( | ) |
Definition at line 143 of file utility.cpp.
| const char * ErrorLogger::getFormatedWarningString | ( | ) |
Definition at line 160 of file utility.cpp.
| const char * ErrorLogger::getLastError | ( | ) |
Definition at line 134 of file utility.cpp.
| const char * ErrorLogger::getLastWarning | ( | ) |
Definition at line 151 of file utility.cpp.
|
static |
Singleton class ErrorLogger.
Definition at line 102 of file utility.cpp.
| int ErrorLogger::warningCount | ( | ) |
Definition at line 177 of file utility.cpp.