serilog-contrib / Serilog.Sinks.Logz.Io

Apache License 2.0
15 stars 11 forks source link

Logz.io has different endpoints for datacentres #7

Closed bonejon closed 5 years ago

bonejon commented 5 years ago

Hi,

We are using the EU datacentre which has a different endpoint to the US. I have added the functionality to specify the configuration in PR #6 which takes the subdomain as a parameter, this should be extensible if they choose to add more sub-domains.

The default sub-domain should always be listener to allow for easy backward compatability.

mantasaudickas commented 5 years ago

Thank you for pull request. I have published changes with package version 2.1.2: https://www.nuget.org/packages/Serilog.Sinks.Logz.Io/2.1.2