public ConsoleOutput(ConsoleLoggingOptions options) => _serializer = options.Serializer ?? throw new ArgumentNullException(nameof(options.Serializer));
public ConsoleOutput(ConsoleLoggingOptions options) => _serializer = options.Serializer;