majesko/logger
Composer 安装命令:
composer require majesko/logger
包简介
Extended laravel logger with pseudo channels that are based on monolog handlers
README 文档
README
Installation steps
- Add to composer required section "majesko/logger": "1.0.*"
- Add LoggerServiceProvider into service provider section of app.php
- Publish config file with command php artisan vendor:publish --tag="logger"
- Uncomment or needed channels in logger.php
Useful parameters
"app_tag" is used to tag source of logs, for example in elasticsearch
"global" uses to mark application-wide log channels
##Handler variants:
"StreamWrapper" is for single file logs
"RotatingFileWrapper" is for per-day logs, so you need to configure rotation options
Formatters
Logger use plain monolog formatters
统计信息
- 总下载量: 2.43k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-02-15