Reacting to ILogger api changes

This commit is contained in:
Kiran Challa 2015-04-04 04:22:56 -07:00
parent fc1b950c00
commit 5e8beea941
2 changed files with 2 additions and 2 deletions

View File

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

View File

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