Classes | |
| class | LoggerConfig |
| ScriptableObject configuration for the Logger. Allows setting default categories, their colors, and global log level directly from the Unity Inspector. More... | |
| class | LoggerConfigEditor |
| Custom inspector for LoggerConfig. More... | |
| class | LoggerManager |
| LoggerManager is responsible for applying the settings from a single LoggerConfig instance at runtime. More... | |
| class | TestLogger |
| Demonstrates a visually appealing test for the Logger system. Generates a colorful log to showcase categories and levels. More... | |
Enumerations | |
| enum | LoggerColorMode { NoColor , CategoryOnly , FullMessage } |
| Defines which parts of the log line will be colored. More... | |
Functions | |
| static void | AddCategory (string category, bool active=true, Color? color=null) |
| Adds or updates a category in the logger system. | |
| static void | SetCategoryActive (string category, bool isActive) |
| Enables or disables a specific category at runtime. | |
| static bool | IsCategoryActive (string category) |
| Checks whether a category is active. | |
| static void | Log (string message, LogLevel level=LogLevel.Info, string category="General") |
| Logs a message with the specified severity and category. | |
Variables | |
| enum Backbone::LoggerColorMode | Debug |
| Severity levels for logging messages. | |
| enum Backbone::LoggerColorMode | Info |
| General informational messages. | |
| enum Backbone::LoggerColorMode | Warning |
| Indicates a potential problem or unexpected situation. | |
| enum Backbone::LoggerColorMode | Error |
| Indicates a recoverable error or serious issue. | |
| enum Backbone::LoggerColorMode | Critical |
| Indicates a critical error that may cause the application to fail. | |
| enum Backbone::LoggerColorMode | GlobalLevel = LogLevel.Debug |
| No logs will be displayed at all. | |
| static LoggerColorMode | ColorMode = LoggerColorMode.CategoryOnly |
| Current color mode for log output. | |
| static Dictionary< string,(bool active, Color color)> | categories |
| Stores categories with their active state and display color. | |
|
static |
Adds or updates a category in the logger system.
| category | Category name. |
| active | Whether the category is enabled. |
| color | The display color for this category in the Unity console. |
|
static |
Checks whether a category is active.
| category | The category name. |
|
static |
Logs a message with the specified severity and category.
| message | The message to log. |
| level | The severity level. |
| category | The category name. |
|
static |
Enables or disables a specific category at runtime.
| category | The category name. |
| isActive | True to enable, false to disable. |
|
staticprivate |
Stores categories with their active state and display color.
|
static |
Current color mode for log output.
| enum Backbone::LoggerColorMode Backbone::Critical |
Indicates a critical error that may cause the application to fail.
| enum Backbone::LoggerColorMode Backbone::Debug |
Severity levels for logging messages.
Used for detailed debugging information.
| enum Backbone::LoggerColorMode Backbone::Error |
Indicates a recoverable error or serious issue.
| enum Backbone::LoggerColorMode Backbone::GlobalLevel = LogLevel.Debug |
No logs will be displayed at all.
Central logging system for Unity with dynamic categories, severity levels, and per-category colors.
Global minimum log level that will be displayed.
| enum Backbone::LoggerColorMode Backbone::Info |
General informational messages.
| enum Backbone::LoggerColorMode Backbone::Warning |
Indicates a potential problem or unexpected situation.