1
0
cuberite-2a/src/LoggerListeners.h

32 lines
302 B
C
Raw Normal View History

2014-08-12 11:05:04 -04:00
#include "Logger.h"
2014-08-12 11:05:04 -04:00
class cFileListener
: public cLogger::cListener
{
public:
cFileListener();
cFileListener(AString a_Filename);
virtual void Log(AString a_Message, cLogger::eLogLevel a_LogLevel) override;
2014-08-12 11:05:04 -04:00
private:
cFile m_File;
2014-08-12 11:05:04 -04:00
};
2014-08-12 11:05:04 -04:00
cLogger::cListener * MakeConsoleListener();