|
MoorDyn
|
A helper for the entities to use the logger. More...
#include <Log.hpp>


Public Member Functions | |
| LogUser (Log *log=NULL) | |
| Constructor. More... | |
| ~LogUser () | |
| Destructor. | |
| void | SetLogger (Log *log) |
| Set the log handler. More... | |
| Log * | GetLogger () const |
| Get the log handler. More... | |
Protected Attributes | |
| Log * | _log |
| The log handler. | |
A helper for the entities to use the logger.
Inheriting this class you can grant the class will have everything required to use the macros LOGGER, LOGDBG, LOGMSG, LOGWRN and LOGERR
|
inline |
Constructor.
| log | The log handler. NULL can be passed, providing later the log handler with SetLogger() |
|
inline |
Get the log handler.

|
inline |
Set the log handler.
| log | The log handler |
