React to logging changes

This commit is contained in:
BrennanConroy 2016-04-01 11:47:18 -07:00
parent 79dbed5a92
commit eebacd2dd5
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ namespace Microsoft.AspNetCore.Identity.Test
}
logStore.Append(" ");
});
logger.Setup(x => x.BeginScopeImpl(It.IsAny<object>())).Callback((object state) =>
logger.Setup(x => x.BeginScope(It.IsAny<object>())).Callback((object state) =>
{
logStore.Append(state.ToString());
logStore.Append(" ");

View File

@ -16,7 +16,7 @@ namespace Microsoft.AspNetCore.Identity.Test
{
public IList<string> LogMessages { get; } = new List<string>();
public IDisposable BeginScopeImpl(object state)
public IDisposable BeginScope<TState>(TState state)
{
LogMessages.Add(state?.ToString());
return null;