There may be cases where the properties prefix isn't desired. In that case you can configure the sink as follows:
new LoggerConfiguration()
.WriteTo.Sink(
new LogzioSink(
new HttpClient(),
"testAuthCode",
"testType",
100,
TimeSpan.FromSeconds(1),
boostProperties: true))
This PR adds a configuration option to boost properties in the message template (or log context) a level up to the event.
Normally the sink works like this:
resulting event json:
There may be cases where the
properties
prefix isn't desired. In that case you can configure the sink as follows:the resulting json then becomes: