We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
需求: header 中存在请求 id,比如 qid 参数 要求所有该请求产生的日志中都能存在 qid 信息。
The text was updated successfully, but these errors were encountered:
可以参考vendor/workerman/webman-framework/src/Exception/ExceptionHandler.php的report方法重写vendor/workerman/webman-framework/src/support/Log.php日志类,通过request()->header()可以获取请求头信息,自由拼接需要额外记录的信息
Sorry, something went wrong.
No branches or pull requests
需求:
header 中存在请求 id,比如 qid 参数
要求所有该请求产生的日志中都能存在 qid 信息。
The text was updated successfully, but these errors were encountered: