middlebury/monolog-pantheon
Composer 安装命令:
composer require middlebury/monolog-pantheon
包简介
Processor to extract Pantheon environment details for Monolog.
README 文档
README
A Monolog processor to extract Pantheon environment details and add them to extra.
Installation
Install with composer: composer require middlebury/monolog-pantheon
Setup and Configuration
-
Add this library to your application (and Monolog) with composer.
-
Add this processor to your monolog service configuration:
parameters: monolog.logger.processors: ['pantheon'] services: monolog.processor.pantheon: class: Middlebury\MonologPantheon\Processor\PantheonProcessor
Your monolog log entries will now be have additional values from the Pantheon environment added to them:
extra.pantheon_site_nameextra.pantheon_siteextra.pantheon_environmentextra.pantheon_infrastructure_environmentextra.pantheon_deployment_identifier
统计信息
- 总下载量: 16.14k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2023-12-01