Enable diagnostic & verbose log messages
This commit is contained in:
parent
589d8052d7
commit
8bb18d42e3
1 changed files with 7 additions and 1 deletions
|
@ -16,10 +16,16 @@
|
||||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
extends Control
|
extends Control
|
||||||
|
|
||||||
var core: Core = await Core.new()
|
var core: Core
|
||||||
@onready var logger: CoreLoggerInstance = core.logger.get_instance("src/loader.gd", self)
|
@onready var logger: CoreLoggerInstance = core.logger.get_instance("src/loader.gd", self)
|
||||||
@onready var manager: VenusManager = VenusManager.new(core)
|
@onready var manager: VenusManager = VenusManager.new(core)
|
||||||
|
|
||||||
|
func _init() -> void:
|
||||||
|
var config: CoreConfiguration = CoreConfiguration.new()
|
||||||
|
config.logger_level = CoreTypes.LoggerLevel.DIAG
|
||||||
|
core = await Core.new(config)
|
||||||
|
config.queue_free()
|
||||||
|
|
||||||
func _ready() -> void:
|
func _ready() -> void:
|
||||||
await get_tree().process_frame
|
await get_tree().process_frame
|
||||||
get_tree().root.add_child(core)
|
get_tree().root.add_child(core)
|
||||||
|
|
Loading…
Reference in a new issue