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
Ship Agents Faster Icon
Ship Agents Faster

Transform your applications and workflows into powerful agentic systems at global scale.

Gemini Enterprise Agent Platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. New customers get $300 in free credits.
Get Started Free
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