84b6f56a50
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.
18 lines
556 B
C#
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;
|
|
}
|