BloodyLogger

An asset by AlexValder
The page banner background of a mountain and forest
BloodyLogger thumbnail image
BloodyLogger thumbnail image
BloodyLogger hero image

Quick Information

0 ratings
BloodyLogger icon image
AlexValder
BloodyLogger

Simple extensible logger for Godot 4.x. Comes with default console writer and error file writer with max log size limitation.

Supported Engine Version
4.0
Version String
1.0.0
License Version
MIT
Support Level
community
Modified Date
1 year ago
Git URL
Issue URL

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) and write_stack(int, String) functions

Please note, that you despite of presence of _filter(int) function, you should call it your custom overrides manually.

README Console output example README File output example

Simple extensible logger for Godot 4.x. Comes with default console writer and error file writer with max log size limitation.

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
BloodyLogger icon image
AlexValder
BloodyLogger

Simple extensible logger for Godot 4.x. Comes with default console writer and error file writer with max log size limitation.

Supported Engine Version
4.0
Version String
1.0.0
License Version
MIT
Support Level
community
Modified Date
1 year ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers