einnar82/google-stack-driver

Laravel log driver for Google App Engine

1.2 2021-08-06 02:53 UTC

This package is auto-updated.

Last update: 2024-04-11 07:07:42 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:

Run Laravel on Google App Engine standard environment