Skip to content

How to use the logger #901

Closed
Closed
@simonschaufi

Description

@simonschaufi

Hi, I'm using your package with a proxy package https://github.com/geocoder-php/GeocoderLaravel.

I would like to log the Exception thrown here:

private function log($level, $message, array $context = [])
{
if ($this->logger) {
$this->logger->log($level, $message, $context);
}
}

but I have no clue how to inject a logger. I also didn't find anything in the documentation. Could you please help?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions