Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
BailunTrace
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
wms
BailunTrace
Commits
3f64d6a6
Commit
3f64d6a6
authored
Apr 09, 2020
by
huangzhihong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README.md
parent
50905e9b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
README.md
doc/README.md
+4
-1
No files found.
doc/README.md
View file @
3f64d6a6
# 日志组件
# 日志组件
> 此组件目的是:通过输出规范的日志,结合 `APM` 实现链路跟踪及相关联日志查询
## 一、集成方法
## 一、集成方法
> 添加 `Nuget` 包:**Bailun.ServiceFabric.Trace**
1.
**AspNetCore**
配置
1.
**AspNetCore**
配置
-
添加
`Nuget`
包:
**Bailun.ServiceFabric.Trace**
-
`Startup.cs`
-
`Startup.cs`
``` C#
``` C#
...
@@ -62,6 +63,7 @@
...
@@ -62,6 +63,7 @@
- [Skywalking 配置](#五使用-apm-扩展日志-skywalking)
- [Skywalking 配置](#五使用-apm-扩展日志-skywalking)
1.
**Console**
配置
1.
**Console**
配置
-
添加
`Nuget`
包:
**Bailun.ServiceFabric.Trace**
-
`Program.cs`
-
`Program.cs`
``` C#
``` C#
...
@@ -141,6 +143,7 @@
...
@@ -141,6 +143,7 @@
| Information | 用于跟踪应用,比如业务埋点信息 |
| Information | 用于跟踪应用,比如业务埋点信息 |
| Warning | 异常或意外事件,包括不会中断应用运行但仍需调查的错误 |
| Warning | 异常或意外事件,包括不会中断应用运行但仍需调查的错误 |
| Error | 表示无法处理的错误和异常,这些消息指示的是当前活动或操作(例如当前 HTTP 请求)中的失败,而不是整个应用中的失败 |
| Error | 表示无法处理的错误和异常,这些消息指示的是当前活动或操作(例如当前 HTTP 请求)中的失败,而不是整个应用中的失败 |
| 其他 |
**Verbose**
对应原生
**Trace**
,
**Fatal**
对应原生
**Critical**
|
## 三、使用方法
## 三、使用方法
...
...
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