Skip to content

PSR-3 compliance for logging #13

Description

@RinkAttendant6

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions