Install Asset
Install via Godot
To maintain one source of truth, Godot Asset Library is just a mirror of the old asset library so you can download directly on Godot via the integrated asset library browser
Quick Information
A Godot 4 addon that writes all debug output (print, push_error, push_warning, engine errors) to a text file in your project folder. No code changes required β it intercepts output via OS.add_logger().
Godot Debug Logger
A Godot 4 addon that writes all debug output (print, push_error, push_warning, engine errors) to a text file in your project folder. No code changes required β it intercepts output via OS.add_logger().
Features
- Automatic capture: All
print(),push_error(),push_warning()and engine messages go to file - Project folder: Logs are written to
project/debugger/godot_debug.txt(visible in editor, version control) - Editor Run: Works when playing in editor β no need to check the Output panel
- Exported builds: Runtime logger captures output from exported games
- No API replacement: Keep using
print()β no need to switch to a custom logging API
Installation
- Copy the
addons/godot_debug_loggerfolder into your Godot project'saddonsfolder - Enable the plugin: Project β Project Settings β Plugins β enable "Godot Debug Logger"
- Add the runtime logger as Autoload: Project β Project Settings β Autoload
- Path:
res://addons/godot_debug_logger/runtime_logger.gd - Name:
GodotDebugLogger(or any name you prefer)
- Path:
Output Location
Logs are written to: your_project/debugger/godot_debug.txt
The folder is created automatically. Add debugger/ to .gitignore if you don't want logs in version control.
Optional: Manual Logging
You can write directly to the log file from code:
GodotDebugLogger.log("Custom message")
# or
GodotDebugLogger.log_line("Another message")
Requirements
- Godot 4.x
License
MIT License β see LICENSE file.
A Godot 4 addon that writes all debug output (print, push_error, push_warning, engine errors) to a text file in your project folder. No code changes required β it intercepts output via OS.add_logger().
Reviews
Quick Information
A Godot 4 addon that writes all debug output (print, push_error, push_warning, engine errors) to a text file in your project folder. No code changes required β it intercepts output via OS.add_logger().