Skip to content

Psr\Log\LoggerInterface #10

@wendelin

Description

@wendelin

Any chance of making using a Psr\Log\LoggerInterface logger possible?

As I see it the simplest [non-breaking-change] way would be by allowing class fmRESTor to be extended by a class that replaces its function log like so:
private function log($log) => protected function log($log)

Some parameters should also be made accessible to the replacing function log:
private $logType; => protected $logType;
private $token; => protected $token;
private $rowNumber; => protected $rowNumber;

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions