Closed SeppPenner closed 1 year ago
var logzIoOptions = new LogzioOptions
{
LogEventsInBatchLimit = 10,
Period = TimeSpan.FromSeconds(10),
DataCenter = new LogzioDataCenter
{
SubDomain = Listener,
UseHttps = true,
},
TextFormatterOptions = new LogzioTextFormatterOptions {
BoostProperties = true
},
RestrictedToMinimumLevel = LogEventLevel.Information
};
var logzIoOptions = new LogzioOptions { LogEventsInBatchLimit = 10, Period = TimeSpan.FromSeconds(10), DataCenter = new LogzioDataCenter { SubDomain = Listener, UseHttps = true, }, TextFormatterOptions = new LogzioTextFormatterOptions { BoostProperties = true }, RestrictedToMinimumLevel = LogEventLevel.Information };
Sorry for the question, I just didn't find an example with the option set 😅
The old code was:
New code?