summaryrefslogtreecommitdiff
path: root/Runtime/Debug/Log.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Runtime/Debug/Log.cpp')
-rw-r--r--Runtime/Debug/Log.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Runtime/Debug/Log.cpp b/Runtime/Debug/Log.cpp
index 4d28502..c92bdc8 100644
--- a/Runtime/Debug/Log.cpp
+++ b/Runtime/Debug/Log.cpp
@@ -63,9 +63,9 @@ void log_warning(std::string log)
s_ConsoleHandle = GetStdHandle(STD_OUTPUT_HANDLE);
}
SetConsoleTextAttribute(s_ConsoleHandle, FOREGROUND_RED | FOREGROUND_GREEN | FOREGROUND_INTENSITY);
- cout << currentDateTime() << " [Info] " << log << endl;
+ cout << currentDateTime() << " [Warning] " << log << endl;
#else
- cout << "\x1B[93m" << currentDateTime() << " [Info] " << log << "\x1B[0m" << endl;
+ cout << "\x1B[93m" << currentDateTime() << " [Warning] " << log << "\x1B[0m" << endl;
#endif
}
}
@@ -78,9 +78,9 @@ void log_error(std::string log)
s_ConsoleHandle = GetStdHandle(STD_OUTPUT_HANDLE);
}
SetConsoleTextAttribute(s_ConsoleHandle, FOREGROUND_RED | FOREGROUND_INTENSITY);
- cout << currentDateTime() << " [Info] " << log << endl;
+ cout << currentDateTime() << " [Error] " << log << endl;
#else
- cout << "\x1B[91m" << currentDateTime() << " [Info] " << log << "\x1B[0m" << endl;
+ cout << "\x1B[91m" << currentDateTime() << " [Error] " << log << "\x1B[0m" << endl;
#endif
}
}