React to Logging API changes

This commit is contained in:
Brennan 2016-01-21 09:39:53 -08:00
parent 342676925f
commit 2d2e71e2c8
1 changed files with 1 additions and 1 deletions

View File

@ -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 +