React to logging changes
This commit is contained in:
parent
bb1b2695bf
commit
591ae3c26a
|
|
@ -57,7 +57,7 @@ namespace Microsoft.AspNetCore.Diagnostics.Elm
|
|||
return _options.Filter(_name, logLevel);
|
||||
}
|
||||
|
||||
public IDisposable BeginScopeImpl(object state)
|
||||
public IDisposable BeginScope<TState>(TState state)
|
||||
{
|
||||
var scope = new ElmScope(_name, state);
|
||||
scope.Context = ElmScope.Current?.Context ?? GetNewActivityContext();
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ namespace Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore
|
|||
return true;
|
||||
}
|
||||
|
||||
public virtual IDisposable BeginScopeImpl(object state)
|
||||
public virtual IDisposable BeginScope<TState>(TState state)
|
||||
{
|
||||
return NullScope.Instance;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ namespace Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.FunctionalTests.H
|
|||
return true;
|
||||
}
|
||||
|
||||
public IDisposable BeginScopeImpl(object state)
|
||||
public IDisposable BeginScope<TState>(TState state)
|
||||
{
|
||||
return NullScope.Instance;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue