firevel/stackdriver-log-channel
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
-
Install package with
composer require firevel/stackdriver-log-channel -
Add to
config/logging.php:
'stackdriver' => [
'driver' => 'custom',
'via' => Firevel\Stackdriver\CreateStackdriverLogger::class,
'level' => 'debug',
],
- Update your
app.yamlwith:
env_variables:
LOG_CHANNEL: stackdriver
Related Packages
beyounglabs/monolog-stackdriver
Stackdriver handler for Monolog (codeinternetapplications/monolog-stackdriver Fo...
2,179
0