承接 m6web/monolog-extra-bundle 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

m6web/monolog-extra-bundle

最新稳定版本:v5.0.0

Composer 安装命令:

composer require m6web/monolog-extra-bundle

包简介

Provide extra features for Monolog

关键字:

README 文档

README

Provide extra features for Monolog.

The actual version of this bundle support Symfony >= 4.4. If you need support for older versions, you have to use version < 3.0.

Installation

Via composer :

"require": { "m6web/monolog-extra-bundle":"1.1.*" }

then enable the bundle in your kernel:

<?php $bundles = [ new M6Web\Bundle\MonologExtraBundle\M6WebMonologExtraBundle ];

Configuration

Processors

A processor can add, modify or remove log content.

For now, only one processor is available: ContextInformationProcessor. It allows you to add extra context information to each log entry.

m6_web_monolog_extra: processors: myProcessor: # Given that there is only one processor for now, # type is optionnal and will have ContextInformation as default value type: ContextInformation # You can attach the processor to a handler or a channel, but not both # Those two configuration entry are optionnal, if you omit both # then the processor will be attached to all log channel and handlers. handler: gelf channel: request # Then you can define the context information you wish to add # Each entry under config will be an entry in context information config: foo: bar bar: foo env: expr(container.getParameter('kernel.environment')) 

Tests

$ ./vendor/bin/atoum

统计信息

  • 总下载量: 310.24k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 6
  • 点击次数: 6
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 6
  • Watchers: 49
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固