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.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Runtime/Debug/Log.cpp b/Runtime/Debug/Log.cpp
index a84337b..4d28502 100644
--- a/Runtime/Debug/Log.cpp
+++ b/Runtime/Debug/Log.cpp
@@ -42,7 +42,7 @@ void log_open_tag(std::string tag)
void log_info(std::string log)
{
- _lock(s_Mutex) {
+ Lock(s_Mutex) {
#ifdef GAMELAB_WIN
if (s_ConsoleHandle == 0) {
s_ConsoleHandle = GetStdHandle(STD_OUTPUT_HANDLE);
@@ -57,7 +57,7 @@ void log_info(std::string log)
void log_warning(std::string log)
{
- _lock(s_Mutex) {
+ Lock(s_Mutex) {
#ifdef GAMELAB_WIN
if (s_ConsoleHandle == 0) {
s_ConsoleHandle = GetStdHandle(STD_OUTPUT_HANDLE);
@@ -72,7 +72,7 @@ void log_warning(std::string log)
void log_error(std::string log)
{
- _lock(s_Mutex) {
+ Lock(s_Mutex) {
#ifdef GAMELAB_WIN
if (s_ConsoleHandle == 0) {
s_ConsoleHandle = GetStdHandle(STD_OUTPUT_HANDLE);