#include <LoggerImpl.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. | |
FileLogger (const Parameters ¶ms=Parameters()) | |
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. | |
virtual std::ostream * | warningStream () |
Return the warning stream, 0 if hasWarningChannel() returns false. | |
Static Public Member Functions | |
static const ParametersDoc | availableParameters () |
static const std::string | description () |
Public Attributes | |
const bool | displayLocation |
const std::string | infoFileName |
const std::string | warningFileName |
Protected Attributes | |
std::ofstream | _infoStream |
std::ofstream | _warningStream |
Definition at line 52 of file LoggerImpl.h.
PointMatcherSupport::FileLogger::FileLogger | ( | const Parameters & | params = Parameters() | ) |
Definition at line 45 of file LoggerImpl.cpp.
static const ParametersDoc PointMatcherSupport::FileLogger::availableParameters | ( | ) | [inline, static] |
Definition at line 58 of file LoggerImpl.h.
void PointMatcherSupport::FileLogger::beginInfoEntry | ( | const char * | file, |
unsigned | line, | ||
const char * | func | ||
) | [virtual] |
Start a new entry into the info channel.
Reimplemented from PointMatcherSupport::Logger.
Definition at line 64 of file LoggerImpl.cpp.
void PointMatcherSupport::FileLogger::beginWarningEntry | ( | const char * | file, |
unsigned | line, | ||
const char * | func | ||
) | [virtual] |
Start a new entry into the warning channel.
Reimplemented from PointMatcherSupport::Logger.
Definition at line 86 of file LoggerImpl.cpp.
static const std::string PointMatcherSupport::FileLogger::description | ( | ) | [inline, static] |
Definition at line 54 of file LoggerImpl.h.
void PointMatcherSupport::FileLogger::finishInfoEntry | ( | const char * | file, |
unsigned | line, | ||
const char * | func | ||
) | [virtual] |
Finish the entry into the info channel.
Reimplemented from PointMatcherSupport::Logger.
Definition at line 73 of file LoggerImpl.cpp.
void PointMatcherSupport::FileLogger::finishWarningEntry | ( | const char * | file, |
unsigned | line, | ||
const char * | func | ||
) | [virtual] |
Finish the entry into the warning channel.
Reimplemented from PointMatcherSupport::Logger.
Definition at line 95 of file LoggerImpl.cpp.
bool PointMatcherSupport::FileLogger::hasInfoChannel | ( | ) | const [virtual] |
Return whether this logger provides the info channel.
Reimplemented from PointMatcherSupport::Logger.
Definition at line 59 of file LoggerImpl.cpp.
bool PointMatcherSupport::FileLogger::hasWarningChannel | ( | ) | const [virtual] |
Return whether this logger provides the warning channel.
Reimplemented from PointMatcherSupport::Logger.
Definition at line 81 of file LoggerImpl.cpp.
std::ostream * PointMatcherSupport::FileLogger::infoStream | ( | ) | [virtual] |
Return the info stream, 0 if hasInfoChannel() returns false.
Reimplemented from PointMatcherSupport::Logger.
Definition at line 68 of file LoggerImpl.cpp.
std::ostream * PointMatcherSupport::FileLogger::warningStream | ( | ) | [virtual] |
Return the warning stream, 0 if hasWarningChannel() returns false.
Reimplemented from PointMatcherSupport::Logger.
Definition at line 90 of file LoggerImpl.cpp.
std::ofstream PointMatcherSupport::FileLogger::_infoStream [protected] |
Definition at line 84 of file LoggerImpl.h.
std::ofstream PointMatcherSupport::FileLogger::_warningStream [protected] |
Definition at line 85 of file LoggerImpl.h.
Definition at line 70 of file LoggerImpl.h.
const std::string PointMatcherSupport::FileLogger::infoFileName |
Definition at line 66 of file LoggerImpl.h.
const std::string PointMatcherSupport::FileLogger::warningFileName |
Definition at line 69 of file LoggerImpl.h.