React to logging changes

This commit is contained in:
BrennanConroy 2016-04-01 12:00:33 -07:00
parent 906ac728c7
commit f22e234dab
3 changed files with 3 additions and 3 deletions

View File

@ -202,7 +202,7 @@ namespace Microsoft.AspNetCore.Mvc.Internal
public static IDisposable ActionScope(this ILogger logger, ActionDescriptor action)
{
return logger.BeginScopeImpl(new ActionLogScope(action));
return logger.BeginScope(new ActionLogScope(action));
}
public static void ExecutingAction(this ILogger logger, ActionDescriptor action)

View File

@ -87,7 +87,7 @@ namespace Microsoft.AspNetCore.Mvc.ViewFeatures.Internal
public static IDisposable ViewComponentScope(this ILogger logger, ViewComponentContext context)
{
return logger.BeginScopeImpl(new ViewComponentLogScope(context.ViewComponentDescriptor));
return logger.BeginScope(new ViewComponentLogScope(context.ViewComponentDescriptor));
}
public static void ViewComponentExecuting(

View File

@ -11,7 +11,7 @@ namespace Microsoft.AspNetCore.Mvc.TagHelpers
{
public List<LoggerData> Logged { get; } = new List<LoggerData>();
public IDisposable BeginScopeImpl(object state)
public IDisposable BeginScope<TState>(TState state)
{
return null;
}