1
0
cuberite-2a/src/LoggerListeners.h
2014-08-12 22:43:04 +02:00

32 lines
302 B
C++

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