File tree Expand file tree Collapse file tree 2 files changed +4
-25
lines changed
Expand file tree Collapse file tree 2 files changed +4
-25
lines changed Original file line number Diff line number Diff line change @@ -54,11 +54,9 @@ Quick to get started
5454#### with Bower
5555
5656``` shell
57- bower install logline-web
57+ bower install logline
5858```
5959
60- * sadly, package name 'logline' is taken, any suggestions are welcome in [ ISSUES] ( https://github.com/latel/logline/issues/7 ) *
61-
6260#### Download archive
6361access [ https://github.com/latel/logline/releases ] ( https://github.com/latel/logline/releases ) , selecte the version you wanted.
6462
@@ -178,15 +176,7 @@ and we do hope Logline to focus on log recording and maintenance.
178176Anyway, you can still use ` Logline.all ` and ` Logline.get ` to get the logs,
179177and implement your own upload procedure.
180178
181- ### How to analysis
182- As the format Logline provited is standard with good readability,
183- thus you can read the logs in the terminal or certain text editors.
184-
185- We still provids [ Logline-viewer] to helps you to do so.
186-
187179
188180
189181[ travis-image ] : https://api.travis-ci.org/latel/logline.svg
190182[ travis-url ] : https://travis-ci.org/latel/logline
191- [ logline-viewer ] : https://github.com/latel/logline-viewer
192- [ logline-uploader ] : https://github.com/latel/logline-uploader
Original file line number Diff line number Diff line change @@ -48,11 +48,9 @@ logline是一个轻量,实用和客户端级的前端日志记录工具。
4848#### 通过npm
4949
5050``` shell
51- npm install logline-web
51+ npm install logline
5252```
5353
54- * 很抱歉,logline这个包名已经被占用,欢迎大家在[ issue] ( https://github.com/latel/logline/issues/7 ) 里推荐一个好名字*
55-
5654#### 直接下载
5755访问 [ https://github.com/latel/logline/releases ] ( https://github.com/latel/logline/releases ) ,选择需要的版本下载,引入自己的项目。
5856
@@ -67,9 +65,9 @@ Logline 支持直接使用 script 标签引用,也支持 AMD 模块加载器
6765// AMD模块方式(如requirejs)
6866var Logline = require (' ./mod/logline.min' );
6967// CMD引入方式(使用npm安装)
70- var Bitlog = require (' bitlog ' );
68+ var Logline = require (' logline ' );
7169// ES6引入方式(使用npm安装)
72- import Bitlog from ' bitlog ' ;
70+ import Logline from ' logline ' ;
7371```
7472
7573### 3. 选择日志协议
182180从v1.0.1以开始,日志上传功能被移除,我们希望logline更专注于日志的记录和维护工作,
183181你可以通过` Logline.all ` 和` Logline.get ` 来获取日志来自行实现上传过程。
184182
185- ### 如何分析日志
186- -------------
187- 由于Logline上传的日志格式符合标准,具有良好的可阅读性,因此我们可以在某种程度上直接使用命令行工具或者编辑器来阅读。
188- 但是对命令行不熟悉的用户使用可能仍然有困难,因此有必要使用Web技术栈搭建一个易于使用并且视觉良好的工具。
189-
190- 我们为此准备了[ Logline-viewer] 以供使用。
191-
192183
193184
194185[ travis-image ] : https://api.travis-ci.org/latel/logline.svg
195186[ travis-url ] : https://travis-ci.org/latel/logline
196- [ logline-viewer ] : https://github.com/latel/logline-viewer
197- [ logline-uploader ] : https://github.com/latel/logline-uploader
You can’t perform that action at this time.
0 commit comments