serilog/serilog — pull request #325 by blachniet (2014-12-06 22:17:51+00:00)
Title: Added option to provide LogentriesSink with ITextFormatter

[Logentries](https://logentries.com/) has support for receiving JSON formatted log events. When it receives JSON logs, it allows users to search for events with certain properties or property values. It also allows you to create tags and alerts based on properties and property values.

Before these changes, the `LogentriesSink` only allowed simple display messages to be sent to Logentries. With these changes, the developer can provide their own `ITextFormatter` when creating the `LogentriesSink`. With this support, a developer could configure the sink to send JSON logs.

```csharp
var logger = new LoggerConfiguration()
.WriteTo.Logentries(logentriesToken, new JsonFormatter(), useSsl:false)
.CreateLogger();
```