X-Git-Url: https://git.pterodactylus.net/?p=fms.git;a=blobdiff_plain;f=include%2Filogger.h;h=8617e9e62f75f8267bcfef703642965cc55303fd;hp=b03499deb7d5c92a3bb0d7e7c5e9bda038ed1dc8;hb=dec33c63afafabf83c3039e916725cac6faef9b3;hpb=9b22dd53fe62e312c1647310b7ec43aa127090af diff --git a/include/ilogger.h b/include/ilogger.h index b03499d..8617e9e 100644 --- a/include/ilogger.h +++ b/include/ilogger.h @@ -1,7 +1,8 @@ #ifndef _ilogger_ #define _ilogger_ -#include "logfile.h" +#include +#include /** \brief Base class for classes that want to use the singleton LogFile object @@ -9,10 +10,10 @@ class ILogger { public: - ILogger():m_log(LogFile::Instance()) {} + ILogger():m_log(&Poco::Util::ServerApplication::instance().logger()) {} protected: - LogFile *m_log; + Poco::Logger *m_log; }; #endif // _ilogger_