-
Notifications
You must be signed in to change notification settings - Fork 23
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
日志信息输出 #1
Comments
日志记录 用户可以通过相关的库去使用呀 每个接口中记录信息 至于具体的信息怎么存储 是由日志库决定的 这里提供全局的on_log 出于什么考虑呢 |
好 这个我会加个统一处理的接口 |
另外这个库是否考虑加上开源协议呢? |
嗯 这块还没来得及做 你是否可以提个pr |
这个只有你来吧。毕竟是你的项目,看你想以怎样的方式开源咯。 |
server.on_error([](std::exception const& ec) { |
xmh0511
pushed a commit
that referenced
this issue
Apr 23, 2021
fix a bug that empty data caused webosocket to throw an exception
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
也许可以提供一种on_log方法,提供日志回调函数,便于日志记录
The text was updated successfully, but these errors were encountered: