All Projects → Qsnh → think-log-viewer

Qsnh / think-log-viewer

Licence: other
基于 Thinkphp5 开发的日志查看扩展包。

Programming Languages

PHP
23972 projects - #3 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to think-log-viewer

CocoaLogKit
Log framework based on CocoaLumberjack and ZipArchive
Stars: ✭ 17 (-19.05%)
Mutual labels:  log
tailor
Tailor, the library for tailing logs under logrotate, written in go.
Stars: ✭ 35 (+66.67%)
Mutual labels:  log
app-application-logger
A small standalone Windows application to log the applications one is using
Stars: ✭ 13 (-38.1%)
Mutual labels:  log
logging
mod: zap logging in golang
Stars: ✭ 44 (+109.52%)
Mutual labels:  log
fast log
Rust async log High-performance asynchronous logging
Stars: ✭ 104 (+395.24%)
Mutual labels:  log
aushape
A library and a tool for converting audit logs to XML and JSON
Stars: ✭ 37 (+76.19%)
Mutual labels:  log
haminer
[mirror] Library and program to parse and forward HAProxy HTTP logs
Stars: ✭ 22 (+4.76%)
Mutual labels:  log
lwlog
A lightweight header only logging library for C
Stars: ✭ 46 (+119.05%)
Mutual labels:  log
laravel-epilog
🐈 IP, referer, user ID and more in Laravel logs
Stars: ✭ 25 (+19.05%)
Mutual labels:  log
ardupilog
A ardupilot log to MATLAB converter
Stars: ✭ 26 (+23.81%)
Mutual labels:  log
XLog
一个简易的日志打印框架(支持打印策略自定义,默认提供2种策略:logcat打印和磁盘打印)
Stars: ✭ 33 (+57.14%)
Mutual labels:  log
log
A simple to use log system, minimalist but with features for debugging and differentiation of messages
Stars: ✭ 21 (+0%)
Mutual labels:  log
logs-monitor
An application like Linux tail for Windows. Using Windows FindFirstChangeNotification API to monitoring file changes.
Stars: ✭ 43 (+104.76%)
Mutual labels:  log
vim-log-highlighting
Syntax highlighting for generic log files in VIM
Stars: ✭ 164 (+680.95%)
Mutual labels:  log
l
Cross-platform html/io [L]ogger with simple API.
Stars: ✭ 26 (+23.81%)
Mutual labels:  log
clue
a extremely high performance log library for android. 高性能的Android日志库
Stars: ✭ 27 (+28.57%)
Mutual labels:  log
dawn-api
A RESTful API package
Stars: ✭ 25 (+19.05%)
Mutual labels:  thinkphp5
apollo-log
A logging extension for the Apollo GraphQL Server
Stars: ✭ 64 (+204.76%)
Mutual labels:  log
axios-curlirize
axios plugin converting requests to cURL commands, saving and logging them.
Stars: ✭ 152 (+623.81%)
Mutual labels:  log
thinkphp5.1-vue-iview-admin
基于thinkphp5.1、vue、iview的一个后台管理系统
Stars: ✭ 19 (-9.52%)
Mutual labels:  thinkphp5

ThinkLogViewer

基于 Thinkphp5 开发的日志浏览组件。该组件为我们提供了一键浏览当前项目日志的功能。

安装

composer require qsnh/think-log-viewer

使用

在命令行输入:

php think run

之后打开浏览器,输入:

http://127.0.0.1:8000/log

可以看到:

_ _20180407152242

_ _20180407152301

配置

该扩展包默认注册了 /logs 路由,对应的控制器是 Qsnh\Think\Log\Controllers\LogViewerController@index 如果您因为权限原因或者路由路径问题等原因的话,请自己在 /route/route.php 文件中覆盖该路径。具体可以这样:

Route::get('/logs', function () {});
Route::get('/backend/logs', 'Qsnh\Think\Log\Controllers\LogViewerController@index');

请注意控制好权限! 上面代码并不推荐在生产环境下使用,因为闭包无法进行路由缓存。

Author

Qsnh

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].