firevel/stackdriver-log-channel
最新稳定版本:1.1.0
Composer 安装命令:
composer require firevel/stackdriver-log-channel
包简介
Laravel Stackdriver log channel for Google App Engine
README 文档
README
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
统计信息
- 总下载量: 21.74k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-05-05