From 327f220857a019b4e2d0153d67653ff306cf213b Mon Sep 17 00:00:00 2001 From: Adie Date: Mon, 2 Aug 2021 22:58:39 -0500 Subject: [PATCH] Fix debug-level logging definitions Both INFO and DEBUGGING log functions were outputting [INFO] logs. I switched the debug log function to output debug logs instead of info logs, and changed the output of debug logs from [VERBOSE] to [DEBUG] --- verbosity.c | 2 +- verbosity.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/verbosity.c b/verbosity.c index aa4cce8887..49f9b90892 100644 --- a/verbosity.c +++ b/verbosity.c @@ -360,7 +360,7 @@ void RARCH_DBG(const char *fmt, ...) return; va_start(ap, fmt); - RARCH_LOG_V(FILE_PATH_LOG_INFO, fmt, ap); + RARCH_LOG_V(FILE_PATH_LOG_DBG, fmt, ap); va_end(ap); } diff --git a/verbosity.h b/verbosity.h index 5558170cc9..2255dda90d 100644 --- a/verbosity.h +++ b/verbosity.h @@ -28,7 +28,7 @@ RETRO_BEGIN_DECLS -#define FILE_PATH_LOG_DBG "[VERBOSE]" +#define FILE_PATH_LOG_DBG "[DEBUG]" #define FILE_PATH_LOG_INFO "[INFO]" #define FILE_PATH_LOG_ERROR "[ERROR]" #define FILE_PATH_LOG_WARN "[WARN]"