React to EF change
This commit is contained in:
parent
fa469ed85b
commit
4b5d6903ea
|
|
@ -208,7 +208,7 @@ namespace Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore
|
|||
|
||||
void IObserver<DiagnosticListener>.OnNext(DiagnosticListener diagnosticListener)
|
||||
{
|
||||
if (diagnosticListener.Name == DbLoggerCategory.Root)
|
||||
if (diagnosticListener.Name == DbLoggerCategory.Name)
|
||||
{
|
||||
diagnosticListener.Subscribe(this);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue