Backbone Logger

Introduction

In Unity, the Console often turns into a chaotic wall of text as projects grow — hundreds of Debug.Log calls, warnings, and errors piling up without structure. Important information gets buried, and developers lose time searching for what truly matters. Backbone Logger was created to solve this problem: a clean, configurable logging system that brings order, clarity, and efficiency back to your debugging workflow.

Backbone Logger Preview

What is Backbone Logger

Backbone Logger is a lightweight and powerful logging system for Unity that helps you keep your Console organized and efficient. It enables you to:

With Backbone Logger you see the signal through the noise, keeping your workflow clean and focused. It is simple to set up, easy to customize, and built to scale with projects of any size.

Key Benefits

Backbone Logger is a lightweight and configurable logging system for Unity — designed to keep your Console organized, your debugging efficient, and your builds clean.

Here’s why developers rely on it:

Unity Version Compatibility

Compatible with Unity 2020.3 LTS and newer. Supports Built-in, URP, and HDRP pipelines.

Quick Start

Goal: Set up Backbone Logger and see your first colored logs in under 2 minutes.

2.1 Create a LoggerConfig

The LoggerConfig asset stores all logger settings: categories, colors, and filtering options.

Create LoggerConfig
  1. In Unity, right-click in the Project window and select:
    Create → Backbone → Logging → LoggerConfig
  2. Name it, for example: LoggerConfig_Main.
  3. By default, it includes common categories: Gameplay, UI, AI, Audio, Network.

2.2 Initialize the Logger in Your Scene

Backbone Logger must load its configuration when the game starts. There are two ways to do this:

Option 1 — Use LoggerManager (recommended)

  1. Create an empty GameObject in your scene (e.g., Logger).
  2. Add the LoggerManager component.
  3. Drag your LoggerConfig asset into the Config field.

This automatically applies the settings at runtime.

Option 2 — Initialize from Your Own Script

If you need more control, call ApplyConfig() manually.

ApplyConfig code

2.3 Enable Logging Checkbox

The Backbone Logger is disabled by default. Enable it by opening the LoggerConfig object and checking the box, but remember to turn it off before deployment.

Enable Logging checkbox

2.4 Your First Log

Add a simple log to any script:

First log code

Example using defaults:

Default log example

2.5 Press Play and Verify

  1. Hit Play in the Unity Editor.
  2. Open the Console window:
    • You should see logs grouped by category and colored headers.
    • If no log is shown, double-check that Enable Logging checkbox is enabled.
    • If colors don’t appear, enable Rich Text in Console settings.

Backbone Logger is now ready to use!

3. In-Depth Configuration

This section explains how to fully customize Backbone Logger for your project. Everything is managed through the LoggerConfig asset.

Inspector overview

3.1 LoggerConfig Inspector Overview

Field Description
Enable Logging (Compile-Time) Global checkbox that determines if Logger.Log calls are included in builds. When unchecked, the compiler strips all log code completely for zero runtime cost.
Global Log Level Filters logs by severity. Example: setting this to Warning hides all Debug and Info logs.
Color Mode
  • Header Only → Colors only [Level] [Category].
  • Header and Message → Colors the entire log line.
Categories List Add, rename, enable/disable, assign colors, and delete categories. Disabled categories won’t show in the Console.
Group Categories by Prefix Group categories by the text before the first dot (e.g., Menu.UI, Menu.AudioMenu). The parent checkbox supports a mixed state. Toggling it enables/disables all children. A Delete Group button removes the whole family with confirmation.
Import / Merge Select a source LoggerConfig and choose Merge Categories…. Options: Keep existing (add missing only), Overwrite existing (add missing and update color/active for same-name entries). No replace-all.

3.2 Log Levels

Each log has a severity level, which determines how it’s displayed and filtered.

Level Use Case
Debug Internal development details like variable states or AI decisions.
Info Normal events such as scene loads or checkpoints. (Default if not specified)
Warning Something unexpected happened, but the game can continue.
Error A problem occurred and should be fixed, but the game still runs.
Critical A serious failure requiring immediate attention.

3.3 Categories

Categories organize logs by feature or system. Examples: Gameplay, UI, Network, AI.

Categories list

3.3.1 Grouping by Prefix (Sections/Families)

Enable Group Categories by Prefix to cluster categories by their leading segment. For example, Menu.UI and Menu.Actions are shown under Menu.

3.3.2 Import / Merge from Another LoggerConfig

Use Import / Merge to align category lists across assets or teams without wiping your current setup.

  1. Assign a source LoggerConfig in the Import / Merge section.
  2. Click Merge Categories… and choose one:

No “replace all” mode by design. Merges are safe and intentional.

3.4 Compile-Time Stripping

Backbone Logger uses Unity’s Scripting Define Symbols to completely remove logging code from builds.

This is controlled by the Enable Logging (Compile-Time) checkbox at the top of the LoggerConfig inspector.

3.5 Advanced Code Examples

3.6 Best Practices

Full API Documentation

Everything you need to use the API is already explained here. The full technical reference is only for advanced users who want to deeply customize the asset's behavior.

→ View full API documentation (advanced use only)

Conclusion & Support

Backbone Logger stands out as a clean, lightweight, and developer-focused solution for handling logs in Unity. As projects grow and the Console becomes harder to manage, Backbone provides the structure, clarity, and efficiency you need to debug with confidence.

Here’s why Backbone Logger is an excellent choice:

By using Backbone Logger, you not only gain control over your Console but also improve your team’s debugging workflow and ship cleaner builds. It’s intuitive for beginners, scalable for advanced projects, and efficient for long-term development.

In short: Backbone doesn’t just log your messages — it keeps your workflow clean, fast, and production-ready.

For help or questions, please contact at: