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);
|
return _options.Filter(_name, logLevel);
|
||||||
}
|
}
|
||||||
|
|
||||||
public IDisposable BeginScopeImpl(object state)
|
public IDisposable BeginScope<TState>(TState state)
|
||||||
{
|
{
|
||||||
var scope = new ElmScope(_name, state);
|
var scope = new ElmScope(_name, state);
|
||||||
scope.Context = ElmScope.Current?.Context ?? GetNewActivityContext();
|
scope.Context = ElmScope.Current?.Context ?? GetNewActivityContext();
|
||||||
|
|
|
||||||
|
|
@ -62,7 +62,7 @@ namespace Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
public virtual IDisposable BeginScopeImpl(object state)
|
public virtual IDisposable BeginScope<TState>(TState state)
|
||||||
{
|
{
|
||||||
return NullScope.Instance;
|
return NullScope.Instance;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,7 @@ namespace Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.FunctionalTests.H
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
public IDisposable BeginScopeImpl(object state)
|
public IDisposable BeginScope<TState>(TState state)
|
||||||
{
|
{
|
||||||
return NullScope.Instance;
|
return NullScope.Instance;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue