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
ResponseHeaders
Currently this does not print Response Headers in the logs:
logger := httplog.NewLogger("http-relay", httplog.Options{ JSON: false, LogLevel: slog.LevelDebug, Concise: false, ResponseHeaders: true, }) r.Use(httplog.RequestLogger(logger))
This is fixed by either #34 or #39 : the problem is that the Options are not being passed to the RequestLoggerEntry in the function NewLogEntry.
Options
RequestLoggerEntry
NewLogEntry
The text was updated successfully, but these errors were encountered:
thank you for noting, reviewed + merged #34
Sorry, something went wrong.
No branches or pull requests
Currently this does not print Response Headers in the logs:
This is fixed by either #34 or #39 : the problem is that the
Options
are not being passed to theRequestLoggerEntry
in the functionNewLogEntry
.The text was updated successfully, but these errors were encountered: