summaryrefslogtreecommitdiff
path: root/core/io
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-08-02 15:54:18 +0200
committerGitHub <noreply@github.com>2022-08-02 15:54:18 +0200
commit33258d850cf6b40d9b20ba9643f98b3553c392c4 (patch)
treecb918e8226e14369c0ab37cf9969ab206ed747b2 /core/io
parent4f8d31fc68c1b2276cbcbb62a308d59313b9fac6 (diff)
parentb221eab4260c471c37ff2aae2546fcfa6dd7ac58 (diff)
Merge pull request #61315 from lawnjelly/variant_bucket_pools
Variant memory pools
Diffstat (limited to 'core/io')
-rw-r--r--core/io/logger.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/io/logger.cpp b/core/io/logger.cpp
index 5820ec0c09..b0f74f8db5 100644
--- a/core/io/logger.cpp
+++ b/core/io/logger.cpp
@@ -31,6 +31,7 @@
#include "logger.h"
#include "core/config/project_settings.h"
+#include "core/core_globals.h"
#include "core/io/dir_access.h"
#include "core/os/os.h"
#include "core/os/time.h"
@@ -41,7 +42,7 @@
#endif
bool Logger::should_log(bool p_err) {
- return (!p_err || _print_error_enabled) && (p_err || _print_line_enabled);
+ return (!p_err || CoreGlobals::print_error_enabled) && (p_err || CoreGlobals::print_line_enabled);
}
bool Logger::_flush_stdout_on_print = true;