2014-08-12 11:05:04 -04:00
|
|
|
|
|
|
|
#include "Logger.h"
|
|
|
|
|
2014-08-12 16:43:04 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-08-12 11:05:04 -04:00
|
|
|
class cFileListener
|
|
|
|
: public cLogger::cListener
|
|
|
|
{
|
2014-08-12 16:43:04 -04:00
|
|
|
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
|
|
|
|
2014-08-12 16:43:04 -04:00
|
|
|
private:
|
|
|
|
|
|
|
|
cFile m_File;
|
2014-08-12 11:05:04 -04:00
|
|
|
};
|
|
|
|
|
2014-08-12 16:43:04 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-08-12 11:05:04 -04:00
|
|
|
cLogger::cListener * MakeConsoleListener();
|
2014-08-12 16:43:04 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|