<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="11.0.0-preview.7.26381.103" />

System.NullableBool

Used instead of bool? for thread-safe state because Nullable<T> is not guaranteed to be read or written atomically.
namespace System { internal enum NullableBool : sbyte { Undefined = 0, False = -1, True = 1 } }