Skip to content
This repository has been archived by the owner on Oct 19, 2023. It is now read-only.

[feature request] 关于日志的优化 #154

Open
Poker-sang opened this issue May 2, 2022 · 4 comments
Open

[feature request] 关于日志的优化 #154

Poker-sang opened this issue May 2, 2022 · 4 comments
Assignees

Comments

@Poker-sang
Copy link

新功能描述

希望能把日志LogEventEventMessage的两行消息用不同属性表示:即[recv:...]放在一条属性里,下面的信息放在另一条。这样输出时可以方便地为这两个属性设置不同的颜色,更方便看

@TheSnowfield TheSnowfield self-assigned this May 2, 2022
@Poker-sang Poker-sang changed the title [feature request] [feature request] 关于日志的优化 May 2, 2022
@baka-gourd
Copy link

现在的方式就是手动挂logger,比如serilog

比较好的的实现就是给个ILogger的接口然后让用户自己加logger

@TheSnowfield
Copy link
Member

现在的方式就是手动挂logger,比如serilog

比较好的的实现就是给个ILogger的接口然后让用户自己加logger

對, 是打算這麽做。 但是隨之而來的問題就是, 項目又多了一個依賴引用

@ExerciseBook
Copy link
Collaborator

ExerciseBook commented May 26, 2022

所以你什么时候给他换成 C# 套件里的 ILogger https://www.nuget.org/packages/Microsoft.Extensions.Logging/ 呢?
至少会显得我们正常一点。

还是说你在等我写(划掉)

@TheSnowfield
Copy link
Member

所以你什么时候给他换成 C# 套件里的 ILogger https://www.nuget.org/packages/Microsoft.Extensions.Logging/ 呢? 至少会显得我们正常一点。

还是说你在等我写(划掉)

麻了 我沒時間啊 嗚嗚 (快了快了

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants