diff --git a/Shared.EventStore/Aggregate/AggregateService.cs b/Shared.EventStore/Aggregate/AggregateService.cs index 808ef4a..9bbd1fe 100644 --- a/Shared.EventStore/Aggregate/AggregateService.cs +++ b/Shared.EventStore/Aggregate/AggregateService.cs @@ -76,10 +76,10 @@ internal void SetCache((Type, MemoryCacheEntryOptions, Object) aggre //This approach should be safer. if (aggregate == null) { - Logger.Logger.LogWarning($"aggregate is null"); + Logger.Logger.LogWarning("aggregate is null"); } - Logger.Logger.LogWarning($"About to save to cache."); + Logger.Logger.LogWarning("About to save to cache."); String g = typeof(TAggregate).Name; String key = $"{g}-{aggregate.AggregateId}";