From 971b15adfc4ca4aba0476e8bd3b590bb36f9b5c6 Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Wed, 24 Apr 2024 01:40:21 +0200 Subject: [PATCH] Introduce warnings for developmen & verbose mode --- src/core.gd | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core.gd b/src/core.gd index 5f65fe0..40fa1c1 100644 --- a/src/core.gd +++ b/src/core.gd @@ -168,6 +168,8 @@ along with this program. If not, see . Consider contributing to the CORE Framework to make it even better... and remember: #TransRightsAreHumanRights Thank you for using the CORE Framework to develop your application or game!""") + if is_devmode(): loggeri.warn("The CORE Framework is running in development mode.\nThis may cause bugs and issues inside the framework. Here be dragons!") + if logger.verbose_mode: loggeri.warn("Godot is running in verbose stdout mode.\nDue to a bug in the engine that prevents displaying truecolor ANSI escape\nsequences CORE changed the color of all diagnostic log messages.\nTo prevent this, set 'logger_detect_verbose_mode' in the configuration to 'false'.") # +++ configuration +++ ## Loads a (new) configuration object and applies it to all modules.