-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
关于logx日志打印 #433
Comments
info没有打印,但是error等打印了的,因为info的日志太多了,也不太需要知道哪里打印的 |
我考虑下哈 |
|
说下log的需求哈 |
This issue is stale because it has been open for 30 days with no activity. |
This issue is stale because it has been open for 30 days with no activity. |
This issue was closed because it has been inactive for 14 days since being marked as stale. |
@zljohn-ux 非常好的建议,希望作者支持下 @kevwan go-zero是一款非常优秀的框架,希望能在通用的细节点上听取一下大家的建议,毕竟go-zero不是针对一家的定制产品 |
@zljohn-ux is a very good suggestion, I hope the author will support it
|
|
|
debug/warn 多余这点就是我上面说的,go-zero是一个使用非常广泛的工具,debug和warn的使用场景我觉得应该交给用户来决定,而不是单纯的我认为多余。如果从语言的角度上说go不支持,那么我可不可以用zap、log4j来反驳呢?总之我的观点还是有些功能选择权尽量放给用户 |
The redundant debug/warn is what I said above. go-zero is a very widely used tool. I think the usage scenarios of debug and warn should be left to the user to decide, not simply I think it is redundant. If go does not support it from a language point of view, can I use zap and log4j to refute it? In short, my point of view is that some function choices are left to the user as much as possible. |
If so, we need to open all the configuration. I think it's a decision choice. Maybe later. |
Respect your decision. |
It seems warn level logs are not supported yet. |
用logx打印的时候 能否指定打印出行号和函数名之类的
The text was updated successfully, but these errors were encountered: