We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
PRINT_VERBOSE
1 parent 3d91a48 commit 5456cceCopy full SHA for 5456cce
core/string/print_string.h
@@ -59,13 +59,16 @@ extern void print_error(const String &p_string);
59
extern bool is_print_verbose_enabled();
60
61
// This version avoids processing the text to be printed until it actually has to be printed, saving some CPU usage.
62
-#define print_verbose(m_text) \
+#define PRINT_VERBOSE(m_text) \
63
{ \
64
if (is_print_verbose_enabled()) { \
65
print_line(m_text); \
66
} \
67
}
68
69
+// For compatibility, and for parity with the print_line() function, also provide as lowercase.
70
+#define print_verbose PRINT_VERBOSE
71
+
72
template <typename... Args>
73
void print_line(Args... p_args) {
74
Variant variants[sizeof...(p_args)] = { p_args... };
0 commit comments