Devlogs
Geoengineer Devlog #3: Godot Logging
In this devlog I take a look at how Geoengineer handles logging.
In the video, I cover:
- how Geoengineer logs verbosely in development builds but stays quiet in release builds
- how we avoid any production performance penalty from logging
- how we format logs in columns with automatic caller info
- how we avoid printing so many lines that Godot crashes
- how signal events get woven automatically into the story
- how to customise the log for the web console
Code attached!
Files
event_logger.gd 1.9 kB
log.gd 27 kB