Browse Source

React to Logging API changes

Brennan 10 years ago
parent
commit
2d2e71e2c8

+ 1 - 1
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<object, Exception, string> formatter)
+            public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
             {
                 string message = String.Format(CultureInfo.InvariantCulture,
                     "Provider: {0}" + Environment.NewLine +