1 write to Logger
Microsoft.Extensions.Identity.Core (1)
RoleManager.cs (1)
48
Logger
= logger;
5 references to Logger
Microsoft.AspNetCore.Identity.Specification.Tests (3)
IdentitySpecificationTestBase.cs (3)
172
IdentityResultAssert.VerifyLogMessage(manager.
Logger
, $"Role {await manager.GetRoleIdAsync(role) ?? NullValue} validation failed: {AlwaysBadValidator.ErrorMessage.Code}.");
189
IdentityResultAssert.VerifyLogMessage(manager.
Logger
, $"Role {await manager.GetRoleIdAsync(role) ?? NullValue} validation failed: {AlwaysBadValidator.ErrorMessage.Code};{AlwaysBadValidator.ErrorMessage.Code}.");
207
IdentityResultAssert.VerifyLogMessage(manager.
Logger
, $"Role {await manager.GetRoleIdAsync(role) ?? NullValue} validation failed: {AlwaysBadValidator.ErrorMessage.Code}.");
Microsoft.Extensions.Identity.Core (2)
RoleManager.cs (2)
411
if (
Logger
.IsEnabled(LogLevel.Warning))
413
Logger
.LogWarning(LoggerEventIds.RoleValidationFailed, "Role {roleId} validation failed: {errors}.", await GetRoleIdAsync(role).ConfigureAwait(false), string.Join(";", errors.Select(e => e.Code)));