Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
docs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
backend
docs
Commits
54c36b40
Commit
54c36b40
authored
Oct 14, 2015
by
柯阳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
log req added
parent
15f74de4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
log.md
log.md
+0
-3
No files found.
log.md
View file @
54c36b40
...
...
@@ -29,7 +29,6 @@
1.
必打字段
所有日志必须包含以下字段
* `LEVEL`: 日志等级。`DEBUG`, `INFO`, `WARNING`, `ERROR`等。
* `LOGID`: trace用,暂时空缺,填空字符串。
* `TIME`: 日志记录时间。使用[ISO8601标准](https://en.wikipedia.org/wiki/ISO_8601),要求包含时区`+08:00`。根据需要决定是否精确到毫秒。完整例子如`2015-10-14T17:13:00+08:00`。
...
...
@@ -37,7 +36,6 @@
2.
`SYS`
字段
`SYS`字段包含一些全局性的或系统级别的信息,只要有就必须打。包含以下子字段
* `action`: 请求的URL(去掉GET参数)。
* `cl_type`: 请求来源端类型,`ios`/`android`/`pc`/`m`。
* `cl_ver`: 客户端版本号,`pc`不需要填写,m站除了native内嵌h5外不需要填写。
...
...
@@ -53,6 +51,5 @@
4.
`TIMER`
字段
`TIMER`字段包括所有的请求耗时信息,值以毫秒为单位。必须包括`total`子字段:
* `total`: 该请求总耗时。
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment