Is there any way to log something like the following in asp.net core 2?
_logger.LogInformation("Someone did something! \r\n{detail}", new {
SomeObject = someVariable,
SomeOtherObject = someOtherVariable
});
I've tried it with serialized values but the resulting json seems to get truncated.