Update Test.gd

This commit is contained in:
JeremyStar™ 2024-04-14 14:20:34 +02:00
parent a722ea5235
commit a94b77d573
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D

View file

@ -30,6 +30,7 @@ func _init() -> void:
# Update config keys
config.headless = false
config.development = true
config.logger_level = CoreTypes.LoggerLevel.DIAG
# Initialize CORE with custom config
core = Core.new(config)
@ -40,7 +41,7 @@ func _ready() -> void:
await core.complete_init()
# Print information about CORE
logger.info(await core.get_formatted_string("""Version information:
logger.diag(await core.get_formatted_string("""Version information:
Release (semantic) = %version_semantic%
Release = %version%
Typerelease = %version_typerelease%
@ -50,4 +51,4 @@ Development mode = %devmode%
Headless mode = %headless%
Custom module support = %custommodules%"""))
# Print hi
logger.info("Hi there!")
logger.verb("Hi there!")