Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be 📖

Taffer's Logger

An asset by Taffer
The page banner background of a mountain and forest
Taffer's Logger hero image

Quick Information

0 ratings
Taffer's Logger icon image
Taffer
Taffer's Logger

A simple logger that emits BBCode-formatted log entry signals.

Supported Engine Version
4.3
Version String
2.0
License Version
CC-BY-SA-4.0
Support Level
community
Modified Date
1 year ago
Git URL
Issue URL

Logger - Taffer's Components

Emit BBCode-formatted log entry signals.

The Logger produces signals containing BBCode-formatted log entries. Use these in a RichTextLabel or dump them to the console, etc.

Sorry Americans, this is using Canadian spelling, so you'll have to add "u" to your colours.

Using Logger

  1. Create a Logger instance in your tree:
    • Right-click a node and choose "Instantiate Child Scene" (or press Ctrl+Shift+A).
    • Choose addons/taffer_logger/logger.tscn.
  2. Use the Inspector to configure the instance.
  3. Connect the log_entry signal to something. The log_entry signal comes with one argument, the BBCode-formatted log entry text.
  4. When you call the Logger's info(), warning(), or error() functions, it'll generate a signal containing the BBCode-formatted log entry string.

Demo

In the demo folder, there's a simple project showing how you can use the Logger in your own games.

The demo has several nodes:

  • A Logger, whose log_entry signal is connected to the root node's _on_logger_log_entry() function.
  • Buttons, whose pressed signals are connected to the root node; when the root node handles these signals, it creates log entries by calling the Logger's functions.
  • A RichTextLabel to display the log entries, which are also printed to the console.

License

Taffer's Components are licensed with the CC BY 4.0 license. This means:

  • You can Share Taffer's Components any way you like, including commercially.
  • You can Adapt Taffer's Components for any purposes, even commercial ones.

In return, you must:

There are no additional restrictions, although if you somehow use these to make the world a worse place, I'll be very disappointed in you.

See the LICENSE file or the CC BY 4.0 page for details.

A simple logger that emits BBCode-formatted log entry signals.

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
Taffer's Logger icon image
Taffer
Taffer's Logger

A simple logger that emits BBCode-formatted log entry signals.

Supported Engine Version
4.3
Version String
2.0
License Version
CC-BY-SA-4.0
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