Skip to Content
Serverless computing in Azure with .NET
book

Serverless computing in Azure with .NET

by Sasha Rosenbaum
August 2017
Intermediate to advanced
468 pages
12h 5m
English
Packt Publishing
Content preview from Serverless computing in Azure with .NET

Logging with context

While it is important not to create too much "noise", it is equally important to make sure that the logs provide enough information to identify the course of the event or the source of the error. Every software engineer has encountered a message along the lines of "A fatal error has occurred", and knows how much more difficult debugging can get, when there is nothing to narrow down the potential error cause. If an event is important enough to log, you should strive to provide enough information about it with the assumption that the log might be read and analyzed by a different team member.

When logging, include the event description, event trigger, and other relevant bits of information, such as user ID, document name, ...

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

Mastering Azure Serverless Computing

Mastering Azure Serverless Computing

Lorenzo Barbieri, Massimo Bonanni
Implementing Azure: Putting Modern DevOps to Use

Implementing Azure: Putting Modern DevOps to Use

Florian Klaffenbach, Oliver Michalski, Markus Klein, Mohamed Wali

Publisher Resources

ISBN: 9781787288393Supplemental Content