preaction / Log-Any

Simple, fast Perl logging API compatible with any logging system
Other
13 stars 19 forks source link

Multiplex adapter #79

Closed jrubinator closed 4 years ago

jrubinator commented 4 years ago

This adds a new Multiplex adapter to Log::Any, allowing sending messages through multiple Log::Any::Adapters.

The goal of this is be able to simultaneously use structured logging with multiple adapters (which Log::Any::Adapter::Dispatch can't quite do).

preaction commented 4 years ago

This looks great, thanks! I'm going to make one teensy-little change: s/adapters_and_args/adapters/g and then I'll merge and release this tonight.

jrubinator commented 4 years ago

I just noticed this should close #16 :)