package
module
Version:
v0.0.0-...-99cccb7
Opens a new window with list of versions in this module.
Published: Nov 17, 2020
License: MIT
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
seelog
Forked from github.com/xmge/seelog
项目介绍
- 与 golang 项目集成、提供浏览器实时查看日志的功能,类似
tail -f xxx.log
- 支持监控多个日志文件
- 支持多浏览器同时访问
- 支持浏览器 websocket 断线重连
- 支持暂停、清屏、过滤功能
- 查找功能可直接使用浏览器
Ctrl+F
来完成
集成方式
import "github.com/debugtalk/seelog"
seelog.See("错误日志", "err.log") // 实时监听 err.log
seelog.See("调试日志", "debug.log") // 实时监听 debug.log
seelog.Serve(27129)
在浏览器中访问 http://host:port/wstailog
项目展示
Documentation
¶
register monitor log file
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.