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
Config
app.Use(logger.New(logger.Config{ Format: "[${pid}]:${port} ${status} - ${method} ${path}\n", TimeFormat: "2006-01-02T15:04:05.0Z", TimeZone: "Asia/Ho_Chi_Minh", }))
Output
2021-11-12T09:29:26.4Z | 200 | 0s | 127.0.0.1 | GET | /hello
app.Use(logger.New(logger.Config{ Format: "[${ip}]:${port} ${status} - ${method} ${path}\n", }))
09:44:28 | 200 | 0s | 127.0.0.1 | GET | /hello
I think this is a bug! Did I miss something?
The text was updated successfully, but these errors were encountered:
Duplicate of #1609
Sorry, something went wrong.
No branches or pull requests
Config
Output
Config
Output
I think this is a bug! Did I miss something?
The text was updated successfully, but these errors were encountered: