Files
decaf-emu/src/common/debuglog.h
2016-06-13 13:03:01 +01:00

19 lines
263 B
C++

#pragma once
#include "platform.h"
#include "log.h"
#ifdef PLATFORM_WINDOWS
#include <Windows.h>
#endif
inline void
debugPrint(std::string out)
{
gLog->debug(out);
#ifdef PLATFORM_WINDOWS
out.push_back('\n');
OutputDebugStringA(out.c_str());
#endif
}