Skip to content

Inject Logger configuration #145

Closed
@simonschaufi

Description

@simonschaufi

General Information

GeocoderLaravel Version: any
Laravel Version: 5.6
PHP Version: any
Operating System and Version: any

Issue Description

I would like to log Exceptions during geocoding but don't know how to configure my logger. I already asked how to use the logger in Geocoder package and got an answer: geocoder-php/Geocoder#901 (comment). What is missing is any kind of configuration to use the Laravel Logger

Steps to Replicate

  1. Do a geocoding which will throw an exception (for example invalid API key)
  2. In many places the internal logger interface is called like $this->log()
  3. Write this log message to a file

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions