Skip to content

firevel/stackdriver-log-channel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Firevel - Stackdriver log channel

Stackdriver log channel for Laravel compatible with Google App Engine.

This package is now DEPRECATED

Inside of Google Cloud you can send logs to Stackdriver without custom driver using env:

  LOG_CHANNEL=stderr
  LOG_STDERR_FORMATTER=Monolog\Formatter\GoogleCloudLoggingFormatter

Installation

  1. Install package with composer require firevel/stackdriver-log-channel

  2. Add to config/logging.php:

        'stackdriver' => [
            'driver' => 'custom',
            'via' => Firevel\Stackdriver\CreateStackdriverLogger::class,
            'level' => 'debug',
        ],
  1. Update your app.yaml with:
env_variables:
  LOG_CHANNEL: stackdriver

About

Laravel Stackdriver log channel for Google App Engine

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages