Update Test.gd

This commit is contained in:
JeremyStar™ 2024-02-10 21:21:18 +01:00
parent ff0bd01e88
commit d3fcdb63fa

17
Test.gd
View file

@ -36,18 +36,19 @@ func _ready() -> void:
add_child(core) add_child(core)
# Print information about CORE # Print information about CORE
core.logger.info(await core.get_formatted_string("""Version information: core.logger.info(await core.get_formatted_string("""Version information:
Release (semantic) = %release_semantic% Release (semantic) = %release_semantic%
Release = %release% Release = %release%
Type = %type% Typerelease = %release_type%
Type (technical) = %type_technical% Type = %type%
Typerelease = %release_type% Type (technical) = %type_technical%
Development mode = %devmode% Development mode = %devmode%
Headless mode = %headless%""")) Headless mode = %headless%
Custom module support = %custommodules%"""))
# Print hi # Print hi
core.logger.info("Hi there!") core.logger.info("Hi there!")
# Update CORE configuration # Update CORE configuration
func configure_core() -> void: func configure_core() -> void:
config.headless = false config.headless = false
config.debug_allow = true config.debugging = true
config.logger_level = CoreTypes.LoggerLevel.DIAG config.logger_level = CoreTypes.LoggerLevel.DIAG