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