Skip to content

rwkarg/Serilog.Sinks.Syslog

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A syslog Sink for Serilog. H/T to the NLog implementation, from which this project is based.

Build status

Configuration

Log.Logger = new LoggerConfiguration()
    .WriteTo.Syslog("localhost", 514)
    .CreateLogger();

Options

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.

About

A Syslog sink for Serilog

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%