public GraylogPeriodicBatchSink(GraylogSinkOptions options)
     : base(options.BatchSizeLimit, options.Period)
 {
     transport = new LazyRetry <ITransport>(() => TransportFactory.FromOptions(options));
     converter = options.GelfConverter ?? GelfConverterFactory.FromOptions(options);
 }
 public GraylogSink(GraylogSinkOptions options)
 {
     transport = new LazyRetry <ITransport>(() => TransportFactory.FromOptions(options));
     converter = options.GelfConverter ?? GelfConverterFactory.FromOptions(options);
 }