libpointmatcher
1.0.2
|
The logger interface, used to output warnings and informations. More...
#include <PointMatcher.h>
Public Member Functions | |
Logger () | |
Construct without parameter. | |
Logger (const std::string &className, const ParametersDoc paramsDoc, const Parameters ¶ms) | |
Construct with parameters. | |
virtual | ~Logger () |
Virtual destructor, do nothing. | |
virtual bool | hasInfoChannel () const |
Return whether this logger provides the info channel. | |
virtual void | beginInfoEntry (const char *file, unsigned line, const char *func) |
Start a new entry into the info channel. | |
virtual std::ostream * | infoStream () |
Return the info stream, 0 if hasInfoChannel() returns false. | |
virtual void | finishInfoEntry (const char *file, unsigned line, const char *func) |
Finish the entry into the info channel. | |
virtual bool | hasWarningChannel () const |
Return whether this logger provides the warning channel. | |
virtual void | beginWarningEntry (const char *file, unsigned line, const char *func) |
Start a new entry into the warning channel. | |
virtual std::ostream * | warningStream () |
Return the warning stream, 0 if hasWarningChannel() returns false. | |
virtual void | finishWarningEntry (const char *file, unsigned line, const char *func) |
Finish the entry into the warning channel. |
The logger interface, used to output warnings and informations.