Log through a GameLog autoload instead of print()
GameLog.debug() prints only in debug builds, and GameLog.warning() reports problems such as unexpected server data or failed downloads.
This commit is contained in:
1 parent
5cdec5cc8f
commit
5831e1e73d
20 files changed
+137
-89
No files matched your search
@@ -22,6 +22,7 @@ config/icon="res://icon.svg"
|
||||
|
||||
[autoload]
|
||||
|
||||
GameLog="*res://game_log.gd"
|
||||
Settings="*res://Settings.gd"
|
||||
Playlist="*res://playlist.gd"
|
||||
MusicServerClient="*res://music_server_client.gd"
|
||||
|
||||
Reference in new issue
Block a user