blue32a/monolog-google-cloud-logging
最新稳定版本:v1.0.0
Composer 安装命令:
composer require blue32a/monolog-google-cloud-logging
包简介
Google Cloud Logging handler for Monolog.
README 文档
README
About
Google Cloud Logging handler for Monolog.
Installation
$ composer require blue32a/monolog-google-cloud-logging
Usage
use Blue32a\MonologGoogleCloudLoggingHandler\GoogleCloudLoggingHandler; $logger = new \Monolog\Logger(); $config = ['projectId' => 'xxxxx']; $loggingClient = GoogleCloudLoggingHandler::factoryLoggingClient($config); $handler = new GoogleCloudLoggingHandler('logname', $loggingClient); $logger->pushHandler($handler); $logger->info('Hello World!');
统计信息
- 总下载量: 627
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-10-21