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 d705613 commit 42b4760Copy full SHA for 42b4760
core/string/print_string.h
@@ -60,13 +60,16 @@ extern void print_error(const String &p_string);
60
extern bool is_print_verbose_enabled();
61
62
// This version avoids processing the text to be printed until it actually has to be printed, saving some CPU usage.
63
-#define print_verbose(m_text) \
+#define PRINT_VERBOSE(m_text) \
64
{ \
65
if (is_print_verbose_enabled()) { \
66
print_line(m_text); \
67
} \
68
}
69
70
+// For compatibility, and for parity with the print_line() function, also provide as lowercase.
71
+#define print_verbose PRINT_VERBOSE
72
+
73
template <typename... Args>
74
void print_line(Args... p_args) {
75
Variant variants[sizeof...(p_args)] = { p_args... };
0 commit comments