React to Logging API changes
This commit is contained in:
parent
342676925f
commit
2d2e71e2c8
|
|
@ -59,7 +59,7 @@ namespace Microsoft.AspNetCore.DataProtection
|
||||||
return (logLevel >= _factory.MinimumLevel);
|
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,
|
string message = String.Format(CultureInfo.InvariantCulture,
|
||||||
"Provider: {0}" + Environment.NewLine +
|
"Provider: {0}" + Environment.NewLine +
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue