From f711d413d63b9a8145c854032252c7805aa083a0 Mon Sep 17 00:00:00 2001 From: Relintai Date: Sat, 5 Feb 2022 19:55:30 +0100 Subject: [PATCH] Shorten the used prefixes in Logger. --- core/log/logger.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/log/logger.cpp b/core/log/logger.cpp index 3bdfb89..e8650cb 100644 --- a/core/log/logger.cpp +++ b/core/log/logger.cpp @@ -10,7 +10,7 @@ void Logger::log_trace(const String &str) } void Logger::log_trace(const char *str) { - printf("TRACE: %s\n", str); + printf("T %s\n", str); } void Logger::log_message(const String &str) @@ -19,7 +19,7 @@ void Logger::log_message(const String &str) } void Logger::log_message(const char *str) { - printf("MESSAGE: %s\n", str); + printf("M %s\n", str); } void Logger::log_warning(const String &str) @@ -28,7 +28,7 @@ void Logger::log_warning(const String &str) } void Logger::log_warning(const char *str) { - printf("WARNING: %s\n", str); + printf("W %s\n", str); } void Logger::log_error(const String &str) @@ -37,7 +37,7 @@ void Logger::log_error(const String &str) } void Logger::log_error(const char *str) { - printf("ERROR: %s\n", str); + printf("E %s\n", str); } void Logger::_log_error(const char *p_function, const char *p_file, int p_line, const char *str)