zhuravljov/yii2-logreader
最新稳定版本:1.1.3
Composer 安装命令:
composer require zhuravljov/yii2-logreader
包简介
Yii2 Log Reader
README 文档
README
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist zhuravljov/yii2-logreader "*"
or add
"zhuravljov/yii2-logreader": "*"
to the require section of your composer.json file.
Usage
Once the extension is installed, simply modify your application configuration as follows:
return [ 'bootstrap' => ['logreader'], 'modules' => [ 'logreader' => [ 'class' => 'zhuravljov\yii\logreader\Module', 'aliases' => [ 'Frontend Errors' => '@frontend/runtime/logs/app.log', 'Backend Errors' => '@backend/runtime/logs/app.log', 'Console Errors' => '@console/runtime/logs/app.log', ], ], ], ];
You can then access Log Reader using the following URL:
http://localhost/path/to/index.php?r=logreader
or if you have enabled pretty URLs, you may use the following URL:
http://localhost/path/to/logreader
统计信息
- 总下载量: 30.35k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 35
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2016-06-22