11 Logging frameworks
This chapter covers:
- Examining the common characteristics of logging frameworks,
- Selecting logging frameworks for application development,
- Connecting logging frameworks directly to Fluentd,
- Sending log events from our applications directly to Fluentd without a logging framework.
In the previous chapter, we looked at how we can create log events that can be used to give the most meaning and value. Another significant way we can easily derive more value from logs is through the use of logging frameworks for our application development. Most programming languages these days will provide a logging framework. In some cases, the third-party ones predate the language native feature and become something of a de-facto standard. Other frameworks have come about as part of delivering an application container or platform or to address weaknesses perceived or proven in the native solutions.