定制 devoralive/log-viewer-bundle 二次开发

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

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

devoralive/log-viewer-bundle

Composer 安装命令:

composer require devoralive/log-viewer-bundle

包简介

Display symfony logs in JSON and in defined route

README 文档

README

Latest Stable Version composer.lock

The Logger viewer bundle is a simple way to display the logs of your Symfony application. It will read the logs from the monolog bundle route and display them in Json format in the browser.

This way you can fetch them or analyze your application. Be aware that you should not use this in production without adding a security layer to the route you define.

All the code is tested and inspected by external services.

How to use

Install the library with composer:

composer require devoralive/log-viewer-bundle

Enable the bundle in AppKernel.php

new Devoralive\LogViewerBundle\LogViewerBundle(),

Add this in config/routing.yml

log-viewer:
    resource: "@LogViewerBundle/Resources/config/routing.yml"
    prefix:   /_logs

Once configuration is done, you should be able to visualize your app logs.

To display dev.log go to project.localhost/_logs/_dev

To display prod.log go to project.localhost/_logs/_prod

Help us to improve

We are happy to accept suggestions or pull requests. If you are willing to help us develop better software please create a pull request here following the PSR-2 code style and we will use reviewable to check the code and if al test pass and no issues are detected by SensioLab Insights you could will be ready to merge.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-02-08

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固