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

有没有可能虚拟出一个 io.Writer 供标准库 log 中的 Logger 使用? #12

Open
u0x01 opened this issue Nov 18, 2016 · 0 comments

Comments

@u0x01
Copy link

u0x01 commented Nov 18, 2016

许多 go package 都通过标准库 log 中的 Logger 输出日志,但可以设置 io.Writer 。
是否有可能通过虚拟出一个 io.Writer 来供标准库 log 中的 Logger 使用 ozzo-log 的相关特性(如过滤分流、日志标的等)?

@u0x01 u0x01 changed the title 有没有可能虚拟出一个 io.Writer 以供其它标准库中的 Logger 使用? 有没有可能虚拟出一个 io.Writer 供标准库 log 中的 Logger 使用? Nov 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant