X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=include%2Filogger.h;h=8617e9e62f75f8267bcfef703642965cc55303fd;hb=c0ebc7b53a977885ebc2d3a679c586ae20c0bc4a;hp=797c02421299b99fe1bf22f2a221bd20d2454b18;hpb=d8f51eac91f86a1e00a05a5058a8fa9eb8732464;p=fms.git diff --git a/include/ilogger.h b/include/ilogger.h index 797c024..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_