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
Simple extensible logger for Godot 4.x. Comes with default console writer and error file writer with max log size limitation.
BloodyLogger
Simple extensible logger for Godot 4.x
Usage
Note: You should add addons/bloody_logger/logger.gd
as Autoload
Somewhere in your project you should setup loggers like this:
# logger.gd is autoloaded as "Logger"
Logger.add_writer(BloodyLogger.default_console_writer())
Logger.add_writer(BloodyLogger.default_error_file_writer())
This snippet above is more than enough for basic funcitonality. If default writers aren't enough, you can create your own.
Custom writers
To create your own writer, you should:
- extend
Writer
class - override
write(int, String)
andwrite_stack(int, String)
functions
Please note, that you despite of presence of _filter(int)
function, you should call it your custom overrides manually.
Gallery
Simple extensible logger for Godot 4.x. Comes with default console writer and error file writer with max log size limitation.
Reviews
Quick Information
Simple extensible logger for Godot 4.x. Comes with default console writer and error file writer with max log size limitation.