diff --git a/Game/game.cpp b/Game/game.cpp index 182b068..89f0734 100644 --- a/Game/game.cpp +++ b/Game/game.cpp @@ -65,5 +65,5 @@ extern "C" __declspec(dllexport) void __cdecl GameShutdown() extern "C" __declspec(dllexport) void __cdecl GameUpdate(float deltaTime) { - printf("Updating game...\n"); + //printf("Updating game...\n"); } diff --git a/Juliet/src/Core/Logging/LogManager.cpp b/Juliet/src/Core/Logging/LogManager.cpp index 6d5384a..b394c36 100644 --- a/Juliet/src/Core/Logging/LogManager.cpp +++ b/Juliet/src/Core/Logging/LogManager.cpp @@ -7,8 +7,12 @@ #include // Begin Todo JULIET debug output +#include + +#ifdef JULIET_WIN32 #include #include +#endif // End Todo namespace Juliet @@ -62,12 +66,19 @@ namespace Juliet void LogManager::OutputLog(Entry& entry) { // TODO Juliet Output io for each platform +#ifdef JULIET_WIN32 OutputDebugStringA((entry.Value + "\n").c_str()); +#endif printf("%s", (entry.Value + "\n").c_str()); } void InitializeLogManager() { +#ifdef JULIET_WIN32 + SetConsoleOutputCP(CP_UTF8); + SetConsoleCP(CP_UTF8); +#endif + LogManagerSingleton.Init(); }