LoggingExtras allows routing logged information to different places when constructing complicated "log plumbing" systems. Built upon the concept of simple parts composed together, subtyping AbstractLogger provides a powerful and flexible definition for your logging system without a need to define any custom loggers. When we talk about composability, the composition of any set of Loggers is itself a Logger, and LoggingExtras is a composable logging system.
Features
- Sinks are the endpoint of a log message journey. They write it to file or display it on the console or set off a red flashing light in the laboratory. A Sink should never decide what to accept, only what to do with it
- Filters wrap around other loggers and decide whether or not to pass on a message
- Transformers modify the content of log messages before passing them on, including metadata, such as severity level
- Unlike Filters, they can't block a log message, but they could drop its level down to say Debug so that usually no one would see it
- There is only one possible TeeLogger, and it is central to log routing
- It acts as a hub that receives one log message and then sends copies to all its child loggers
Categories
Data VisualizationLicense
MIT LicenseFollow LoggingExtras.jl
Other Useful Business Software
MongoDB Atlas runs apps anywhere
MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of LoggingExtras.jl!