symfony / monolog-bundle

Symfony Monolog Bundle
symfony.com
MIT License
2.9k stars 232 forks source link

Add support for setting the basePath on line formatter #478

Open Seldaek opened 7 months ago

Seldaek commented 7 months ago

See https://github.com/Seldaek/monolog/releases/tag/3.6.0 / https://github.com/Seldaek/monolog/pull/1873

It would be neat I think if we could do base_path: %kernel.project_dir% on a handler and it would configure the line formatter for it with base path set.

It could work like the include_stacktraces functionality I'd say.