Rename Logger.Warn to Logger.LogWarning throughout codebase

Replaces all usages of Logger.Warn with Logger.LogWarning for consistency with .NET logging conventions. Updates the Logger class method name and all related calls, with no changes to logic or parameters.
This commit is contained in:
2026-02-25 13:37:50 +01:00
parent b28084bf19
commit 5230076d5d
3 changed files with 14 additions and 14 deletions

View File

@@ -15,7 +15,7 @@ public class Logger
public void LogDebug(string message, params object?[] args) => Write("DEBUG", message, args);
public void LogInformation(string message, params object?[] args) => Write("INFO", message, args);
public void Warn(string message, params object?[] args) => Write("WARN", message, args);
public void LogWarning(string message, params object?[] args) => Write("WARN", message, args);
public void Warn(Exception exception, string message, params object?[] args) => Write("WARN", message + " " + exception.Message, args);
public void Error(Exception exception) => Write("ERROR", exception.Message, Array.Empty<object?>());
public void Error(Exception exception, string message, params object?[] args) => Write("ERROR", message + " " + exception.Message, args);