|
fw4spl
|
Implements the SpyLogger. More...
#include <SpyLogger.hpp>
Inheritance diagram for fwCore::log::SpyLogger:
Collaboration diagram for fwCore::log::SpyLogger:Public Types | |
| enum | LevelType { SL_TRACE, SL_DEBUG, SL_INFO, SL_WARN, SL_ERROR, SL_FATAL } |
Public Member Functions | |
| FWCORE_API void | createBasicConfiguration () |
| FWCORE_API void | addStreamAppender (std::ostream &os=std::clog, LevelType level=SL_TRACE) |
| FWCORE_API void | addFileAppender (const std::string &logFile="SLM.log", LevelType level=SL_TRACE) |
| FWCORE_API void | setLevel (LevelType level) |
| FWCORE_API void | trace (const std::string &mes, const char *file=0, int line=-1) |
| FWCORE_API void | debug (const std::string &mes, const char *file=0, int line=-1) |
| FWCORE_API void | info (const std::string &mes, const char *file=0, int line=-1) |
| FWCORE_API void | warn (const std::string &mes, const char *file=0, int line=-1) |
| FWCORE_API void | error (const std::string &mes, const char *file=0, int line=-1) |
| FWCORE_API void | fatal (const std::string &mes, const char *file=0, int line=-1) |
| FWCORE_API void | log (const std::string &mes, const char *file=0, int line=-1) |
Public Member Functions inherited from fwCore::BaseObject | |
| virtual bool | isA (const std::string &type) const |
| virtual const std::string & | getLeafClassname () const |
| return object's classname without its namespace, i.e. BaseObject | |
| virtual const std::string & | getClassname () const |
| return full object's classname with its namespace, i.e. fwCore::BaseObject | |
Static Public Member Functions | |
| static SpyLogger & | getSpyLogger () |
Static Public Member Functions inherited from fwCore::BaseObject | |
| static bool | isTypeOf (const std::string &type) |
| static const std::string & | leafClassname () |
| return object's classname without its namespace, i.e. BaseObject | |
| static const std::string & | classname () |
| return object's classname without its namespace, i.e. BaseObject | |
Static Protected Attributes | |
| static FWCORE_API SpyLogger | s_spyLogger |
Implements the SpyLogger.
Definition at line 27 of file SpyLogger.hpp.