AdguardTeam / AdguardTeam/dnsproxy

Add loglevel option

未关闭
#468 1 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Go
星标
3.3k
派生
343
PR 合并指标
30 天内没有已合并 PR

描述

At some point, I won't need the logs in the console or the output file.

Take a look at the [tun2socks](https://github.com/xjasonlyu/tun2socks/blob/4127937ea7c450a5230b273f406c9410acec2be7/main.go#L33) implementation.
They used [Uber's zap](https://github.com/uber-go/zap) package.
```
[debug|info|warn|error|silent]
```

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。