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
Demo Series - Small Business Backup By Veeam
Watch this on-demand demo series and learn how to protect your Microsoft 365 data with clear, simple, actionable steps that are easy to implement for businesses of all sizes.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of LoggingExtras.jl!