Summary
In this chapter, we looked at why logging is important to get a good and easy monitoring level. We also saw that a logging statement must be as minimally impactful on performance as possible so as not to defeat the optimization and coding you may have done elsewhere in your application.
This chapter gave you some common and simple patterns that can help you to rely, as much as possible, on the logging framework to make sure you maintain good performance.
Finally, we saw that several implementations may need to be configured in your applications, but that they will all share the same concepts, and that it is possible to rely on a single API, or even a single implementation from multiple APIs.
At this point of the book, you know what ...
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.
Read now
Unlock full access