定制 mage4/magento2-console-log-handler 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

mage4/magento2-console-log-handler

最新稳定版本:1.0.1

Composer 安装命令:

composer require mage4/magento2-console-log-handler

包简介

Monolog Console log handler for Magento2.

README 文档

README

Writes logs to the console output depending on its verbosity setting.

Inspired by Symonfy Console Log Handler.

Install via composer

composer require mage4/magento2-console-log-handler

php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy

Enable from system configration

To Enabled this handle, either manually turn on the Is Enabled flag from system configuration area in Magento admin panel at MAGE4 EXTENSIONS > Console Log Handler > Settings > Is Enabled = Yes.

OR

Update it via console command by: bin/magento config:set console_log_handler/settings/is_enabled 1

Usage

Can be used with any Magento2 custom or inbuild console command by adding verbosity level to the command. e.g.

bin/magento setup:upgrade -vvv
### OR ###
setup:di:compile -v

The minimum logging level at which this handler will be triggered depends on the verbosity setting of the console output. The default mapping is: OutputInterface::VERBOSITY_VERBOSE (-v) will show all NOTICE and higher logs OutputInterface::VERBOSITY_VERY_VERBOSE (-vv) will show all INFO and higher logs OutputInterface::VERBOSITY_DEBUG (-vvv) will show all DEBUG and higher logs, i.e. all logs

About us

We’re an innovative development agency building awesome websites, webshops and web applications with Latest Technologies. Check out our website mage4.com or email us at contact@mage4.com | rehan@mage4.com.

统计信息

  • 总下载量: 138
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: OSL-3.0
  • 更新时间: 2023-12-28