felixaa/correlation-id
Composer 安装命令:
composer require felixaa/correlation-id
包简介
Package offers functionality to add correlation_id to headers in Symfony project
README 文档
README
configure service to add correlation-id in services.yaml
services: Felixaa\Logger\EventListener\CorrelationIdResponseListener: arguments: ["@request_stack"] tags: - {name: kernel.event_listener, event: kernel.response, method: onKernelResponse }
Felixaa\Logger\Processor\CorrelationIdProcessor:
arguments: ["@request_stack"]
tags:
- { name: monolog.processor, method: __invoke }
Configure service to add enviroment variables
统计信息
- 总下载量: 793
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-06-07