Update Test.gd
This commit is contained in:
parent
a722ea5235
commit
a94b77d573
1 changed files with 3 additions and 2 deletions
5
Test.gd
5
Test.gd
|
@ -30,6 +30,7 @@ func _init() -> void:
|
||||||
# Update config keys
|
# Update config keys
|
||||||
config.headless = false
|
config.headless = false
|
||||||
config.development = true
|
config.development = true
|
||||||
|
config.logger_level = CoreTypes.LoggerLevel.DIAG
|
||||||
# Initialize CORE with custom config
|
# Initialize CORE with custom config
|
||||||
core = Core.new(config)
|
core = Core.new(config)
|
||||||
|
|
||||||
|
@ -40,7 +41,7 @@ func _ready() -> void:
|
||||||
await core.complete_init()
|
await core.complete_init()
|
||||||
|
|
||||||
# Print information about CORE
|
# 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 (semantic) = %version_semantic%
|
||||||
Release = %version%
|
Release = %version%
|
||||||
Typerelease = %version_typerelease%
|
Typerelease = %version_typerelease%
|
||||||
|
@ -50,4 +51,4 @@ Development mode = %devmode%
|
||||||
Headless mode = %headless%
|
Headless mode = %headless%
|
||||||
Custom module support = %custommodules%"""))
|
Custom module support = %custommodules%"""))
|
||||||
# Print hi
|
# Print hi
|
||||||
logger.info("Hi there!")
|
logger.verb("Hi there!")
|
||||||
|
|
Loading…
Reference in a new issue