debug: Remove meta_verbose()
Debug logging should always use a debug topic. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4005>
This commit is contained in:
parent
5f75d18afb
commit
681cd5d424
@ -111,15 +111,11 @@ void meta_log (const char *format, ...) G_GNUC_PRINTF (1, 2);
|
||||
} \
|
||||
G_STMT_END
|
||||
|
||||
#define meta_verbose(...) meta_topic (META_DEBUG_VERBOSE, __VA_ARGS__)
|
||||
|
||||
#else
|
||||
|
||||
# ifdef G_HAVE_ISO_VARARGS
|
||||
# define meta_verbose(...)
|
||||
# define meta_topic(...)
|
||||
# elif defined(G_HAVE_GNUC_VARARGS)
|
||||
# define meta_verbose(format...)
|
||||
# define meta_topic(format...)
|
||||
# else
|
||||
# error "This compiler does not support varargs macros and thus verbose mode can't be disabled meaningfully"
|
||||
|
Loading…
x
Reference in New Issue
Block a user