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

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow LoggingExtras.jl

LoggingExtras.jl Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of LoggingExtras.jl!

Additional Project Details

Programming Language

Julia

Related Categories

Julia Data Visualization Software

Registered

2023-11-28