Skip to content
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

PSR-3 compliance for logging #13

Open
RinkAttendant6 opened this issue Aug 19, 2015 · 0 comments
Open

PSR-3 compliance for logging #13

RinkAttendant6 opened this issue Aug 19, 2015 · 0 comments

Comments

@RinkAttendant6
Copy link

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.

See https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md for more information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant