A syslog Sink for Serilog. H/T to the NLog implementation, from which this project is based.
Log.Logger = new LoggerConfiguration()
.WriteTo.Syslog("localhost", 514)
.CreateLogger();Only two options are required: syslogserver and port.
Two others are optional:
batchsize: The default batch size of messages that the serilog sink should send.batchPeriodInSeconds: The interval (in seconds) after which the sink should flush.