How to Write JSON Logs in ASP.NET Core
Plain-text logs are nice to read, and hard for a log tool to search. AddJsonConsole writes one JSON object per entry, with each value in a field of its own. Keep plain text in Development, and use JSON everywhere else.
