theorchard / monolog-cascade

Configure multiple loggers and handlers in the blink of an eye
MIT License
145 stars 62 forks source link

Provide functionality `Cascade::hasLogger()` #99

Open DBX12 opened 3 years ago

DBX12 commented 3 years ago

Hi, I would like to have a function to find out if Cascade already has a logger with a given name or not. Basically just forwarding the function of Registry::hasLogger() through Cascade::hasLogger(). If you would like that, I can open a PR, I already forked the project to provide this functionality for myself but would happily provide it to the upstream. Cheers, DBX12