in reply to Log::Any: logging to additional adapter

There is unfortunately no API to do what you want at the moment. Suggestions welcome. It would be pretty easy to write a Log::Any::Adapter::Multiple that delegates to multiple adapters. -Jon (author of Log::Any)
  • Comment on Re: Log::Any: logging to additional adapter

Replies are listed 'Best First'.
Re^2: Log::Any: logging to additional adapter
by sedusedan (Pilgrim) on May 16, 2011 at 17:34 UTC

    Thanks for the response. A Log::Any::Adapter::Multiple would not be ideal in my situation, because the previous adapter has been set by other people's code and I still need to access the previous adapter.

    Ignoring this problem for now (during some_func_which_logs() under $some_debugging_flag, previous adapter is not given log messages).