Godot Advanced Logger (C#) 2.0.1 Tools 4.0 Community
Submitted by user Shotix; MIT; 2026-05-19
Elevate your Godot 4.x C# projects with a robust, high-performance, and structured logging framework. Moving beyond standard GD.Print console outputs, this plugin introduces an enterprise-grade logging architecture explicitly designed for the demands of game development.
Whether you are debugging a complex combat system or monitoring a live multiplayer server, Godot Advanced Logger provides the clarity and performance you need.
------
Core Features include:
- In-Game Debug Screen: A toggleable, right-aligned overlay to read logs directly inside your standalone game exports. Fully extensible via the IDebugPanel API to add your own custom developer tools.
- Zero-Allocation Architecture: Built from the ground up to prevent garbage collector (GC) spikes, ensuring your game maintains stable frame rates even under heavy logging loads.
- Structured Data Logging: Go beyond flat text. Log complex data structures and variables as JSON for precise debugging and parsing.
- Real-Time Streaming: Seamlessly stream logs in real-time to external dashboards like Seq for advanced filtering, monitoring, and live analytics.
- Multi-Channel Output: Route your logs to multiple destinations simultaneously. Console, local files, or remote servers.
- Contextual Loggers: Create specialized logger instances (e.g., a CombatLogger) that automatically attach relevant contextual metadata to every log entry.
- Zero-Cost Debugging: Debug() calls utilize C#'s [Conditional("DEBUG")] attribute. In your final Release builds, the compiler completely strips these calls, ensuring zero CPU overhead and memory allocation.
- Production Safe: Automatically detects Release exports (OS.IsDebugBuild()) and hard-disables developer tools (like the UI and network writers) while intelligently throttling log verbosity based on separate Editor/Release settings.
------
The framework is highly modular, allowing you to plug in the exact output methods your project requires:
- ConsoleWriter: Cleanly formatted, color-coded output directly within the Godot editor console.
- FileWriter: Traditional plain-text logs for historical archiving and local debugging.
- JsonFileWriter: Machine-readable log files perfect for automated crash analysis and parsing.
- SeqHttpWriter: Professional remote logging via HTTP for centralized, live log management.
- DebugScreenWriter: Directly writes any log messages into the In-Game Debug Screen.
View files Download Submit an issue Recent Edits