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

Return ability to use custom loggers and to set loggers for a specific route #106

Closed
Satbek opened this issue Jan 29, 2020 · 0 comments · Fixed by #107
Closed

Return ability to use custom loggers and to set loggers for a specific route #106

Satbek opened this issue Jan 29, 2020 · 0 comments · Fixed by #107
Labels
feature A new functionality

Comments

@Satbek
Copy link
Collaborator

Satbek commented Jan 29, 2020

In v1.1.0 was ability to set custom request and error loggers for whole server and specific route.
It is pr where this feature was provided #77 .

In v2.0.1 this ability was lost. Let's return it.

Changes:

  • http.server.new also can accept log_requests, log_errors as function values
  • add log_requests, log_errors options to router:route options.
    They override the server parameter of the same name, but only for current route.
@Satbek Satbek added the feature A new functionality label Jan 29, 2020
@Satbek Satbek changed the title Return ability to use custom loggers by server and routes Return ability to use custom loggers and to set loggers for a specific route Jan 30, 2020
@ligurio ligurio mentioned this issue Oct 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant