dotnet-api-diff

Microsoft.Extensions.Logging.Abstractions

 namespace Microsoft.Extensions.Logging.Abstractions {
     public readonly struct LogEntry<TState> {
-        public Func<TState, Exception?, string>? Formatter { get; }
+        public Func<TState, Exception?, string> Formatter { get; }
     }
     public class NullLogger<T> : ILogger, ILogger<T> {
-        public IDisposable BeginScope<TState>(TState state);
+        public IDisposable BeginScope<TState>(TState state) where TState : notnull;
     }
 }