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

设置 SetAsync(), 然后必须要在每个方法最后调用logger.Flush()的问题 #3

Open
liugh1974 opened this issue Dec 5, 2018 · 0 comments

Comments

@liugh1974
Copy link

如果设置为 SetAsync(), 必须在每个方法最后调用logger.Flush().
一般来说,为了性能,最好是设置SetAsync(), 但在每个方法最后调用 logger.Flush(), 这种方式太别扭了。这个如果能改成类似自动批处理的方式,而不用显示的调用,那就比较好了。

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