The configuration for logging in Laravel requires an instance of Monolog\Handler\HandlerInterface, but the Rollbar library requires a string with value of "agent" to use the agent. This disconnect makes it impossible to use the Rollbar agent with Laravel.
Fixes Issue #85, by way of an adapter class. An example Laravel configuration to use the adapter:
Description of the change
The configuration for logging in Laravel requires an instance of
Monolog\Handler\HandlerInterface
, but the Rollbar library requires a string with value of "agent" to use the agent. This disconnect makes it impossible to use the Rollbar agent with Laravel.Fixes Issue #85, by way of an adapter class. An example Laravel configuration to use the adapter:
Type of change
Related issues
Checklists
Development
Code review