From ad9cef7bfa35f68ebf199277b078c628358d209b Mon Sep 17 00:00:00 2001 From: Abdullah Tahiri Date: Thu, 1 Jun 2023 00:17:54 +0200 Subject: [PATCH] Console: Ensure macros have a notifier string --- src/Base/Console.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/Base/Console.h b/src/Base/Console.h index f819c1fa6e..3dcf6d54cc 100644 --- a/src/Base/Console.h +++ b/src/Base/Console.h @@ -358,18 +358,18 @@ using PyMethodDef = struct PyMethodDef; #define FC_LOG_LEVEL_INIT(_tag,...) \ _FC_LOG_LEVEL_INIT(FC_LOG_INSTANCE, _tag, ## __VA_ARGS__) -#define __FC_PRINT(_instance,_l,_func,_msg,_file,_line) do{\ +#define __FC_PRINT(_instance,_l,_func,_notifier,_msg,_file,_line) do{\ if(_instance.isEnabled(_l)) {\ std::stringstream _str;\ _instance.prefix(_str,_file,_line) << _msg;\ if(_instance.add_eol) \ _str<