summaryrefslogblamecommitdiffstats
path: root/src/LoggerListeners.h
blob: a7f9a35a54f1a5ad188cbc9a60cb2b41c5953a70 (plain) (tree)
1
2
3
4
5
6
7
8

                   
                           
 



 


                                   





                                                                                    
        


                     

  



 
                                                           



 

#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(bool a_IsService);