Use full type as log category
This commit is contained in:
@@ -51,7 +51,7 @@ public static class UpdateConsumption
|
||||
ILoggerFactory loggerFactory,
|
||||
CancellationToken cancellationToken)
|
||||
{
|
||||
ILogger logger = loggerFactory.CreateLogger(nameof(UpdateConsumption));
|
||||
ILogger logger = loggerFactory.CreateLogger(typeof(UpdateConsumption));
|
||||
|
||||
List<ValidationResult> failedValidations = await validators.ValidateAllAsync(request, cancellationToken);
|
||||
if (failedValidations.Count > 0)
|
||||
|
||||
Reference in New Issue
Block a user