From 887bfa7501029651687d458da7daf456a0600b96 Mon Sep 17 00:00:00 2001 From: Chomp Date: Fri, 24 Jan 2025 18:20:06 +0000 Subject: [PATCH] Fixed logging issues --- Libraries/Core/Controllers/HealthController.cs | 2 +- Libraries/Core/Controllers/InsuranceController.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Libraries/Core/Controllers/HealthController.cs b/Libraries/Core/Controllers/HealthController.cs index f18c24d6..573ea2fa 100644 --- a/Libraries/Core/Controllers/HealthController.cs +++ b/Libraries/Core/Controllers/HealthController.cs @@ -178,7 +178,7 @@ public class HealthController( break; default: - _logger.Warning($"Unhandled effect after consuming: ${itemToConsume.Template}, ${key}"); + _logger.Warning($"Unhandled effect after consuming: {itemToConsume.Template}, {key}"); break; } diff --git a/Libraries/Core/Controllers/InsuranceController.cs b/Libraries/Core/Controllers/InsuranceController.cs index 51523d3e..b95d36ed 100644 --- a/Libraries/Core/Controllers/InsuranceController.cs +++ b/Libraries/Core/Controllers/InsuranceController.cs @@ -101,7 +101,7 @@ public class InsuranceController( protected void ProcessInsuredItems(List insuranceDetails, string sessionId) { _logger.Debug( - $"Processing {insuranceDetails.Count} insurance packages, which includes a total of ${CountAllInsuranceItems(insuranceDetails)} items, in profile ${sessionId}" + $"Processing {insuranceDetails.Count} insurance packages, which includes a total of: {CountAllInsuranceItems(insuranceDetails)} items, in profile: {sessionId}" ); // Iterate over each of the insurance packages. @@ -697,7 +697,7 @@ public class InsuranceController( foreach (var softInsertSlot in softInsertSlots) { - _logger.Debug($"SoftInsertSlots: ${softInsertSlot.SlotId}"); + _logger.Debug($"SoftInsertSlots: {softInsertSlot.SlotId}"); pmcData.InsuredItems.Add(new InsuredItem { TId = body.TransactionId, ItemId = softInsertSlot.Id }); } }