mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-17 20:10:23 +03:00
* Rename Logger_windows -> LoggerWindows
* Add logger support for SDL base
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
#include "Logger.hpp"
|
||||
#include "Util.hpp"
|
||||
|
||||
extern int logs;
|
||||
|
||||
Logger* Logger::m_singleton = nullptr;
|
||||
|
||||
Logger* const Logger::singleton()
|
||||
@@ -26,7 +28,8 @@ Logger::~Logger()
|
||||
|
||||
void Logger::print(const char* const str)
|
||||
{
|
||||
std::cout << str << std::endl;
|
||||
::printf("%s\n", str);
|
||||
logs++;
|
||||
}
|
||||
|
||||
void Logger::print(std::string str)
|
||||
|
||||
Reference in New Issue
Block a user