Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork5.3k
Document the new enabled option for Monolog handlers#21517
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:7.3
Are you sure you want to change the base?
Document the new enabled option for Monolog handlers#21517
Uh oh!
There was an error while loading.Please reload this page.
Conversation
logging.rst Outdated
| .. _logging-handler-fingers_crossed: | ||
| ..note:: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
I would not use a note. That's feature.
Also, you should add.. versionadded:: 3.11
symfony-docs/logging/channels_handlers.rst
Lines 223 to 226 inf9c60f4
| ..versionadded::3.5 | |
| The ``#[WithMonologChannel]`` attribute was introduced in Monolog 3.5.0. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
The versionadded is the Symfony version.
This is the linter error :
Error: You are not allowed to use version "3.11.0". Only major version "7" is allowed.Error: Please only provide ".. versionadded::" if the version is greater/equal "7.0"
This PR updates the loggin documentation to include the new enabled configuration option for handlers, which allows enabling or disabling specific handlers depending on the environment.
This feature was introduced insymfony/monolog-bundle#482