The logic to allow for easy appsettings configuration doesn't work with complex types. Its easy enough to add this extension to my own assembly but wonder if it should be provided by default
public static LoggerConfiguration Splunk(this LoggerSinkConfiguration sinkConfiguration, string host, int port)
{
return sinkConfiguration.SplunkViaTcp(new Serilog.Sinks.Splunk.SplunkTcpSinkConnectionInfo(host, port));
}
The logic to allow for easy appsettings configuration doesn't work with complex types. Its easy enough to add this extension to my own assembly but wonder if it should be provided by default
Or maybe im doing something wrong ha!