React to logging changes

This commit is contained in:
BrennanConroy 2016-04-01 11:53:47 -07:00
parent 63ac7210ce
commit 109c56713a
2 changed files with 3 additions and 3 deletions

View File

@ -154,9 +154,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel
return _logger.IsEnabled(logLevel);
}
public virtual IDisposable BeginScopeImpl(object state)
public virtual IDisposable BeginScope<TState>(TState state)
{
return _logger.BeginScopeImpl(state);
return _logger.BeginScope(state);
}
}
}

View File

@ -16,7 +16,7 @@ namespace Microsoft.AspNetCore.Server.KestrelTests
public int ApplicationErrorsLogged { get; set; }
public IDisposable BeginScopeImpl(object state)
public IDisposable BeginScope<TState>(TState state)
{
return new Disposable(() => { });
}