
Log - A comprehensive logging solution for Godot 2.1.1 Tools 4.5 Community
Submitted by user albinaask; MIT; 2025-10-12
Your one stop shop for all your logging needs in Godot. Updated to Godot 4.5, but should work for any Godot 4.x version,(if you comment out the variadic function versions of the log methods which is a 4.5+ exclusive feature only).
2.1.1:
- Implemented variadic versions of all logging functions.
- Fixed a bug for when Log is used for an external plugin.
2.1:
- Changed the log(debug, info,warning, etc...) method signatures to accommodate easier porting from print() to Log while retaining backwards compatibility.
2.0:
- Makes the logging into it's own thread, bringing down the average time for a log message from 4ms to 10-100us on the main thread.ยด
- Renames Config to LogConfig and Settings to LogSettings due to collisions with other plugins.
- Added more settings and options to control logging more granularly.
1.2.1:
- Fixed a bug with cyclic loading of resources at editor startup.
1.2:
- Added a setting for whether or not to print tree on error.
- Fixed bugs.
1.1.2:
- Fixed bugs
1.1:
- Updated documentation
- Integrated settings into the EditorSettings singleton
New for the fork:
- Adds multiple log streams so you can control the log level independently for different parts of your project.
- Adds a fatal log level that causes your project to crash in a way that you can control.
- Adds comments to updated parts of the plugin.
- Adds options in top of the log stream.
- Adds shorthand methods for debug & error.
- Adds err_cond_... methods for quick error checking.
- Adds a scripted breakpoint (optional in setting) so errors freeze the execution and shows relevant info in the godot debugger.
- Adds support for multiple log files.
- Adds a test scene that can be used as an example of how the plugin can be used.
Original:
- Adds a basic logger to print out Nodes,Objects,Arrays,Dictionarys etc.
- Adds support for easily reading env vars & cmd line args.
View files Download Submit an issue Recent Edits