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 4ebf67c commit 8ac701cCopy full SHA for 8ac701c
core/string/print_string.h
@@ -62,13 +62,16 @@ extern void print_error(const String &p_string);
62
extern bool is_print_verbose_enabled();
63
64
// This version avoids processing the text to be printed until it actually has to be printed, saving some CPU usage.
65
-#define print_verbose(m_text) \
+#define PRINT_VERBOSE(m_text) \
66
{ \
67
if (is_print_verbose_enabled()) { \
68
print_line(m_text); \
69
} \
70
}
71
72
+// For compatibility, and for parity with the print_line() function, also provide as lowercase.
73
+#define print_verbose PRINT_VERBOSE
74
+
75
inline void print_line(const Variant &v) {
76
__print_line(stringify_variants(v));
77
0 commit comments