Skip to content

Commit

Permalink
Update EventSourceLogger.cs (#67065)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxkoshevoi authored Mar 23, 2022
1 parent 6a7050e commit 475554d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Except
}
}

public IDisposable BeginScope<TState>(TState state)
public IDisposable BeginScope<TState>(TState state) where TState : notnull
{
if (!IsEnabled(LogLevel.Critical))
{
Expand Down

0 comments on commit 475554d

Please sign in to comment.