I am currently using Serilog (Serilog.AspNetCore version 3.4.0) with a Loggly sink and I want to be able to write logs with a certain message template and properties that are not included in that template. I tried several variants but none seems to work:
_log.LogInformation("My message template", new {SeparateProperty = "Property value"});
_log.LogInformation(new {MyMessageTemplate = "My message template", SeparateProperty = "Property value"});
Where _log is an ILogger. How can I add properties to a log without having to include them in the message template?