8000 [Logger] Remove wrong "method" tag by BafS · Pull Request #14603 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

[Logger] Remove wrong "method" tag #14603

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 22, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Remove wrong "method" tag
Method tag is not needed when the processor is invokable, here it would call `processRecord` which doesn't exist
  • Loading branch information
BafS authored Nov 24, 2020
commit 322ce95fbfbcebbac88f06572518326ece0249a2
2 changes: 1 addition & 1 deletion logging/processors.rst
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ information:

$container
->register(SessionRequestProcessor::class)
->addTag('monolog.processor', ['method' => 'processRecord']);
->addTag('monolog.processor');

Finally, set the formatter to be used on whatever handler you want:

Expand Down
0