Session

Logging Best Practices in .NET

If you're building a .NET app today, logging is a crucial tool to have in your toolbelt to troubleshoot what is going on in your application. In this talk we will review logging best practices so you don't get caught debugging through a forest without the proper log.

First off, we'll discuss what logging should be used for and what it shouldn't. We'll talk about what the different log levels mean, and why you're probably abusing the Information log level. We'll discuss why structured logs are useful and how to properly use a log context to attach useful properties to every log. Of course, there'll be demos all throughout using Serilog in conjuction with the ILogger.

Scott Sauber

Director of Engineering at Lean TECHniques Inc

Des Moines, Iowa, United States

Actions

Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.

Jump to top