summaryrefslogtreecommitdiffstats
path: root/src/LoggerListeners.h
blob: c419aa75a2b43cf17636f996c1a671a894d8da89 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32

#include "Logger.h"
#include "OSSupport/File.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();