The logger interface, used to output warnings and informations. More...
#include <PointMatcher.h>
Public Member Functions | |
virtual void | beginInfoEntry (const char *file, unsigned line, const char *func) |
Start a new entry into the info channel. | |
virtual void | beginWarningEntry (const char *file, unsigned line, const char *func) |
Start a new entry into the warning channel. | |
virtual void | finishInfoEntry (const char *file, unsigned line, const char *func) |
Finish the entry into the info channel. | |
virtual void | finishWarningEntry (const char *file, unsigned line, const char *func) |
Finish the entry into the warning channel. | |
virtual bool | hasInfoChannel () const |
Return whether this logger provides the info channel. | |
virtual bool | hasWarningChannel () const |
Return whether this logger provides the warning channel. | |
virtual std::ostream * | infoStream () |
Return the info stream, 0 if hasInfoChannel() returns false. | |
Logger () | |
Construct without parameter. | |
Logger (const std::string &className, const ParametersDoc paramsDoc, const Parameters ¶ms) | |
Construct with parameters. | |
virtual std::ostream * | warningStream () |
Return the warning stream, 0 if hasWarningChannel() returns false. | |
virtual | ~Logger () |
Virtual destructor, do nothing. |
The logger interface, used to output warnings and informations.
Definition at line 104 of file PointMatcher.h.
Construct without parameter.
Definition at line 45 of file Logger.cpp.
PointMatcherSupport::Logger::Logger | ( | const std::string & | className, |
const ParametersDoc | paramsDoc, | ||
const Parameters & | params | ||
) |
Construct with parameters.
Definition at line 49 of file Logger.cpp.
PointMatcherSupport::Logger::~Logger | ( | ) | [virtual] |
Virtual destructor, do nothing.
Definition at line 54 of file Logger.cpp.
void PointMatcherSupport::Logger::beginInfoEntry | ( | const char * | file, |
unsigned | line, | ||
const char * | func | ||
) | [virtual] |
Start a new entry into the info channel.
Reimplemented in PointMatcherSupport::FileLogger.
Definition at line 64 of file Logger.cpp.
void PointMatcherSupport::Logger::beginWarningEntry | ( | const char * | file, |
unsigned | line, | ||
const char * | func | ||
) | [virtual] |
Start a new entry into the warning channel.
Reimplemented in PointMatcherSupport::FileLogger.
Definition at line 84 of file Logger.cpp.
void PointMatcherSupport::Logger::finishInfoEntry | ( | const char * | file, |
unsigned | line, | ||
const char * | func | ||
) | [virtual] |
Finish the entry into the info channel.
Reimplemented in PointMatcherSupport::FileLogger.
Definition at line 74 of file Logger.cpp.
void PointMatcherSupport::Logger::finishWarningEntry | ( | const char * | file, |
unsigned | line, | ||
const char * | func | ||
) | [virtual] |
Finish the entry into the warning channel.
Reimplemented in PointMatcherSupport::FileLogger.
Definition at line 94 of file Logger.cpp.
bool PointMatcherSupport::Logger::hasInfoChannel | ( | ) | const [virtual] |
Return whether this logger provides the info channel.
Reimplemented in PointMatcherSupport::FileLogger.
Definition at line 58 of file Logger.cpp.
bool PointMatcherSupport::Logger::hasWarningChannel | ( | ) | const [virtual] |
Return whether this logger provides the warning channel.
Reimplemented in PointMatcherSupport::FileLogger.
Definition at line 78 of file Logger.cpp.
std::ostream * PointMatcherSupport::Logger::infoStream | ( | ) | [virtual] |
Return the info stream, 0 if hasInfoChannel() returns false.
Reimplemented in PointMatcherSupport::FileLogger.
Definition at line 68 of file Logger.cpp.
std::ostream * PointMatcherSupport::Logger::warningStream | ( | ) | [virtual] |
Return the warning stream, 0 if hasWarningChannel() returns false.
Reimplemented in PointMatcherSupport::FileLogger.
Definition at line 88 of file Logger.cpp.