Skip to Content
Hands-On Cloud Solutions with Azure
book

Hands-On Cloud Solutions with Azure

by Greg Leonardo
October 2018
Intermediate to advanced
224 pages
5h 22m
English
Packt Publishing
Content preview from Hands-On Cloud Solutions with Azure

Let's talk logging

Logging was one of the biggest things I had to adjust to in Azure. I was so used to being able to dig things out of a server that it was like second nature.  The first time I had to dig things out of Azure due to poor logging, I went cross-eyed staring at the log stream.  So, I adopted NLog because I liked how configurable it was and that it followed my DI pattern.  I also learned how to use it for informational purposes, because in Azure you want to ensure your application can self-heal and/or fails gracefully, allowing developers code swallowing errors and moving on, is a bad practice.  You can read the documentation on NLog at https://nlog-project.org/ and install the NuGet package with this:

install-package Microsoft.ApplicationInsights.NLogTarget ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Implementing Azure DevOps Solutions

Implementing Azure DevOps Solutions

Henry Been, Maik van der Gaag
Cloud Native Infrastructure with Azure

Cloud Native Infrastructure with Azure

Nishant Singh, Michael Kehoe
DevOps with Azure

DevOps with Azure

Allen ONeill

Publisher Resources

ISBN: 9781786468659Supplemental Content