Extensive logging with Serilog
Using .Net core default logger to log system events in production environment quite often can complicate things when attempting to aggregate and analise logs from multiple services via log analysers such as Sumo Logic .
Default Logger console writes are easy to read but basically become useless when thousands of messages are being collected into centralised analysis dashboard.
Serilog library on the other hand allows for structured event logging.
Also, with the help of various extensions and segregation of settings for dev and prod environment it possible to output coloured logs for ease of reading in IDE and de-serialise log message with JSON for improved data analysis.
read more