Skip to content
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

是否可以格式化输出 hlog #1208

Closed
xu756 opened this issue Oct 11, 2024 · 3 comments
Closed

是否可以格式化输出 hlog #1208

xu756 opened this issue Oct 11, 2024 · 3 comments
Labels
invalid issue invalid issue (not related to Hertz or described in document or not enough information provided) stale

Comments

@xu756
Copy link

xu756 commented Oct 11, 2024

使用hertz 想修改hlog默认格式化方式,不用json格式

@github-actions github-actions bot added the invalid issue invalid issue (not related to Hertz or described in document or not enough information provided) label Oct 11, 2024
Copy link

This issue has been marked as invalid question, please give more information by following the issue template. The issue will be closed in 1 days if no further activity occurs.

@github-actions github-actions bot added the stale label Oct 11, 2024
@li-jin-gou
Copy link
Member

参考 https://github.com/hertz-contrib/logger/blob/main/logrus/option.go#L68 可以通过 option设置

@github-actions github-actions bot removed the stale label Oct 11, 2024
Copy link

This issue has been marked as invalid question, please give more information by following the issue template. The issue will be closed in 1 days if no further activity occurs.

@github-actions github-actions bot added the stale label Oct 11, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid issue invalid issue (not related to Hertz or described in document or not enough information provided) stale
Development

No branches or pull requests

2 participants