Files
gregCore/src/Infrastructure/Logging/NullLogger.cs
T
Marvin 84b6f56a50 chore: add DataCenter-RustBridge submodule
Initialize the DataCenter-RustBridge submodule to integrate the Rust bridge plugin for the DataCenter project. This enables using the external Rust-based components as a git submodule.
2026-04-20 14:48:52 +02:00

18 lines
556 B
C#

/// <file-summary>
/// Schicht: Infrastructure
/// Zweck: Null-Logger Implementierung für Tests.
/// Maintainer: Verwirft alle Logs.
/// </file-summary>
namespace gregCore.Infrastructure.Logging;
public sealed class NullLogger : IGregLogger
{
public void Debug(string message) { }
public void Info(string message) { }
public void Success(string message) { }
public void Warning(string message) { }
public void Error(string message, Exception? ex = null) { }
public IGregLogger ForContext(string context) => this;
}