React to logging changes
This commit is contained in:
parent
906ac728c7
commit
f22e234dab
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue