gdscript-online.github.io icon indicating copy to clipboard operation
gdscript-online.github.io copied to clipboard

Add custom logger for runtime error printing

Open MrMinimal opened this issue 4 months ago • 1 comments

I merged the code of your amazing logger demo into this project because showing errors is useful.

Screenshot_20251012_080618

Things to improve

  • I have no clue how to properly do UI in Godot, the error panel size is not dynamic
  • The error output is a bit cryptic as the file name of the ingame script is a negative integer

I don't have much time to contribute more atm, but I am thankful for this project. Reading documentation on loggers didn't get me far but looking at the demo is when it clicked for me. It should be part of the official demos imho.

References

Logger feature https://github.com/godotengine/godot/pull/91006 Your amazing logger demo https://github.com/godotengine/godot-demo-projects/pull/1242.

Feel free to edit to your liking, it's just a proof of concept

MrMinimal avatar Oct 12 '25 06:10 MrMinimal