We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
jsonrpc appears to be PSR compliant so I think that the error/exception logging should be PSR compliant too with the Logger Interface.
All that's necessary is to call the log method as per \Psr\Log\LoggerInterface instead of addRecord. The parameters are the same.
log
\Psr\Log\LoggerInterface
addRecord
See https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md for more information.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
jsonrpc appears to be PSR compliant so I think that the error/exception logging should be PSR compliant too with the Logger Interface.
All that's necessary is to call the
log
method as per\Psr\Log\LoggerInterface
instead ofaddRecord
. The parameters are the same.See https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md for more information.
The text was updated successfully, but these errors were encountered: