Skip to content

KieranOBrien-R7/serilog-sinks-logentries

 
 

Repository files navigation

Serilog.Sinks.Logentries

Build status

A Serilog sink that writes events to Logentries.

Logentries allows you to collect machine statistics and log files. In your Logentries dashboard, select the option to create a new log and pick the .NET log type. You will see details about log4net and nlog which you can ignore. At the bottom, there is a button to configure your app. Clicking on this button will reveal a token in the form of a guid. This token you need to enter in the Logentries configuration. By default the sink will use a TCP token using SSL.

Package - Serilog.Sinks.Logentries | Platforms - .NET 4.5

var log = new LoggerConfiguration()
    .WriteTo.Logentries("token")
    .CreateLogger();

The properties are not send to Logentries, it only consists of the message which you can configure.

About

A Serilog sink that writes events to Logentries

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C# 88.4%
  • PowerShell 11.6%