-
-
Notifications
You must be signed in to change notification settings - Fork 12
Closed
Description
It would be nice to have errors reported with a timestamp that happened prior to a crash or event.
Logging is managed by https://github.com/godotengine/godot/blob/master/core/io/logger.h
This functionality is not exposed in Godot API, and as such cannot be used in GDExtension/GDScript.
AFAIK, there are two PRs possibly landing in Godot that expose logging:
- Add user-facing log interception callback. godotengine/godot#87576
- Add
Loggerand ability to print and log script backtraces godotengine/godot#91006
For the time being, we can explore a log-based parser and see how performant such approach can be.
UPDATE:
