mirror of
https://github.com/libretro/Play-.git
synced 2024-12-01 04:30:55 +00:00
0bca5c42a1
git-svn-id: http://svn.purei.org/purei/trunk@1193 b36208d7-6611-0410-8bec-b1987f11c4a2
28 lines
508 B
C++
28 lines
508 B
C++
#ifndef _LOG_H_
|
|
#define _LOG_H_
|
|
|
|
#include <string>
|
|
#include <map>
|
|
#include <boost/filesystem.hpp>
|
|
#include "StdStream.h"
|
|
#include "Singleton.h"
|
|
|
|
class CLog : public CSingleton<CLog>
|
|
{
|
|
public:
|
|
CLog();
|
|
virtual ~CLog();
|
|
|
|
void Print(const char*, const char*, ...);
|
|
|
|
private:
|
|
typedef std::map<std::string, Framework::CStdStream> LogMapType;
|
|
|
|
Framework::CStdStream& GetLog(const char*);
|
|
|
|
boost::filesystem::path m_logBasePath;
|
|
LogMapType m_logs;
|
|
};
|
|
|
|
#endif
|