einnar82 / google-stack-driver
Laravel log driver for Google App Engine
Installs: 1 867
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 1
Requires
- google/cloud-error-reporting: ^0.15.0
- google/cloud-logging: ^1.18
This package is auto-updated.
Last update: 2025-03-11 09:07:39 UTC
README
Instructions:
Install the package via composer
$ composer require einnar82/google-stack-driver
Next, go to config/logging.php and add the google stack logger in the options
'channels' => [
'stackdriver' => [
'driver' => 'custom',
'via' => RannieOllit\GoogleStackDriver\StackDriverLogger::class,
'level' => 'debug',
],
Then set your LOG_CHANNEL into 'stackdriver' in your .env
Reference: