From d32c0e783c6fe04fc0b48e0d031bb7ce53db9efe Mon Sep 17 00:00:00 2001 From: Jacob Schmidt Date: Mon, 23 Feb 2026 22:21:59 -0600 Subject: [PATCH] Condensed and formated code --- Journal.Core/Services/Logging/CommandLogger.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Journal.Core/Services/Logging/CommandLogger.cs b/Journal.Core/Services/Logging/CommandLogger.cs index 2023cb1..018dd5f 100644 --- a/Journal.Core/Services/Logging/CommandLogger.cs +++ b/Journal.Core/Services/Logging/CommandLogger.cs @@ -11,10 +11,7 @@ public sealed class CommandLogger EmitLog("information", action, correlationId, "start", redactedPayload); } - public static void LogSuccess(string action, string correlationId) - { - EmitLog("information", action, correlationId, "success"); - } + public static void LogSuccess(string action, string correlationId) => EmitLog("information", action, correlationId, "success"); public static void LogFailure(string action, string correlationId, string errorType, string? message = null) {