mirror of
https://github.com/libretro/Play-.git
synced 2024-12-13 20:22:25 +00:00
38e1632c11
git-svn-id: http://svn.purei.org/purei/trunk@180 b36208d7-6611-0410-8bec-b1987f11c4a2
27 lines
559 B
C++
27 lines
559 B
C++
#ifndef _LOG_H_
|
|
#define _LOG_H_
|
|
|
|
#include <string>
|
|
#include <map>
|
|
#include "StdStream.h"
|
|
#include "Singleton.h"
|
|
|
|
class CLog : public CSingleton<CLog>
|
|
{
|
|
public:
|
|
void Print(const char*, const char*, ...);
|
|
|
|
private:
|
|
friend class CSingleton<CLog>;
|
|
typedef std::map<std::string, Framework::CStdStream*> LogMapType;
|
|
|
|
CLog();
|
|
virtual ~CLog();
|
|
|
|
Framework::CStdStream* GetLog(const char*);
|
|
|
|
LogMapType m_logs;
|
|
};
|
|
|
|
#endif
|