Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Open
Arkalo2 wants to merge2 commits intosymfony:7.3
base:7.3
Choose a base branch
Loading
fromArkalo2:doc/loggin-add-documentation-for-enabled-handler-option

Conversation

@Arkalo2
Copy link

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

GromNaN reacted with thumbs up emoji
@carsonbotcarsonbot changed the titleDocument the new enabled option for Monolog handlers Document the new enabled option for Monolog handlersOct 20, 2025
logging.rst Outdated
.. _logging-handler-fingers_crossed:


..note::
Copy link
Member

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

..versionadded::3.5
The ``#[WithMonologChannel]`` attribute was introduced in Monolog 3.5.0.

Copy link
Author

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"

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

1 more reviewer

@GromNaNGromNaNGromNaN left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@Arkalo2@GromNaN@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp