diff --git a/test/Microsoft.AspNetCore.DataProtection.Test/StringLoggerFactory.cs b/test/Microsoft.AspNetCore.DataProtection.Test/StringLoggerFactory.cs index c15cc1ac9d..f36f0c2af8 100644 --- a/test/Microsoft.AspNetCore.DataProtection.Test/StringLoggerFactory.cs +++ b/test/Microsoft.AspNetCore.DataProtection.Test/StringLoggerFactory.cs @@ -59,7 +59,7 @@ namespace Microsoft.AspNetCore.DataProtection return (logLevel >= _factory.MinimumLevel); } - public void Log(LogLevel logLevel, int eventId, object state, Exception exception, Func formatter) + public void Log(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func formatter) { string message = String.Format(CultureInfo.InvariantCulture, "Provider: {0}" + Environment.NewLine +