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 c44d7af..301e15a 100644
--- a/Runtime/Debug/Log.cpp
+++ b/Runtime/Debug/Log.cpp
@@ -101,7 +101,7 @@ void log_info_tag(const char* tag, const char* fmt, ...)
SetOutputColor(0);
va_list pArgs = NULL;
va_start(pArgs, fmt);
- printf("%s [Info] %s ", currentDateTime().c_str(), tag);
+ printf("%s [Info] [%s] ", currentDateTime().c_str(), tag);
vprintf(fmt, pArgs);
printf("\n");
va_end(pArgs);
@@ -114,7 +114,7 @@ void log_warning_tag(const char* tag, const char* fmt, ...)
SetOutputColor(1);
va_list pArgs = NULL;
va_start(pArgs, fmt);
- printf("%s [Warning] %s ", currentDateTime().c_str(), tag);
+ printf("%s [Warning] [%s] ", currentDateTime().c_str(), tag);
vprintf(fmt, pArgs);
printf("\n");
va_end(pArgs);
@@ -127,7 +127,7 @@ void log_error_tag(const char* tag, const char* fmt, ...)
SetOutputColor(2);
va_list pArgs = NULL;
va_start(pArgs, fmt);
- printf("%s [Error] %s ", currentDateTime().c_str(), tag);
+ printf("%s [Error] [%s] ", currentDateTime().c_str(), tag);
vprintf(fmt, pArgs);
printf("\n");
va_end(pArgs);