| VRS - The Virtual Rendering System |
| version 3.3 |
#include <vrs/sharedobj.h>#include <vrs/exception.h>Go to the source code of this file.
Namespaces | |
| namespace | VRS |
Classes | |
| class | VRS::Logger |
| Provides logging into a logfile with timestamps. More... | |
Defines | |
| #define | VRS_LOG(component, message) |
| 'component' is a string, 'message' a string stream like: "my integer output is " << intValue | |
| #define | VRS_LOG_EXCEPTION(component, stdexception) ::VRS::Logger::get()->logException(component, stdexception) |
| 'component' is a string, 'stdexception' std::exception& or std::exception* | |
| #define | VRS_LOG_ERROR(errortype, expr, file, line, text) ::VRS::Logger::get()->logError(errortype, expr, file, line, text) |
| only for use in errorhandler.cpp | |
| #define VRS_LOG | ( | component, | |||
| message | ) |
Value:
std::ostringstream ostr; \
ostr << message; \
::VRS::Logger::get()->logInfo(component, ostr.str())
| #define VRS_LOG_ERROR | ( | errortype, | |||
| expr, | |||||
| file, | |||||
| line, | |||||
| text | ) | ::VRS::Logger::get()->logError(errortype, expr, file, line, text) |
only for use in errorhandler.cpp
| #define VRS_LOG_EXCEPTION | ( | component, | |||
| stdexception | ) | ::VRS::Logger::get()->logException(component, stdexception) |
'component' is a string, 'stdexception' std::exception& or std::exception*