lancoid/yii2-log-viewer
最新稳定版本:0.1.9
Composer 安装命令:
composer require lancoid/yii2-log-viewer
包简介
Yii2 log viewer
README 文档
README
Yii2 log viewer
Installation
Usage
Once the extension is installed, simply modify your application configuration as follows:
return [ 'bootstrap' => ['log-viewer'], 'modules' => [ 'log-viewer' => [ 'class' => 'lancoid\yii2LogViewer\Module', 'aliases' => [ 'Api Errors' => '@api/runtime/logs/app.log', 'Console Errors' => '@console/runtime/logs/app.log', 'Backend Errors' => '@backend/runtime/logs/app.log', 'Frontend Errors' => '@frontend/runtime/logs/app.log', ], 'lang' => 'en', 'accessRoles' => ['admin'], 'moduleUrl' => 'admin/log-viewer', 'canDelete' => true, 'appLayout' => '@frontend/views/layouts/main', ], ], ];
You can then access Log Reader using the following URL:
http://localhost/path/to/index.php?r=log-viewer
or if you have enabled pretty URLs, you may use the following URL:
http://localhost/log-viewer
统计信息
- 总下载量: 1.63k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-02-12