Apr 10, 2023
If you're working with Symfony and Monolog for logging purposes, you may be wondering how to find all the available Monolog channels in your Symfony application. Fortunately, there are a few different methods you can use to identify these channels and ensure that your logging is organized and efficient. In this article, we'll explore some of the most effective ways to find all Monolog channels in your Symfony project. Whether you're a seasoned Symfony developer or just getting started, this guide will provide you with the tools you need to streamline your logging process and stay on top of your application's performance.
Symfny Monolog comes with a few helpful commands. And one of the allows to detect all logger channels
This command give a lot of usefull information as services, formatters, so on. And you can find here all channels.
I highlighted them in red.