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

feat: add ability to specify log level for access logger #3157

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

tglman
Copy link
Contributor

@tglman tglman commented Oct 3, 2023

Hi,

This add a new feature to the Logger middleware to set the level of the log.

Example

Logger::default().level(Level::Debug);

This would ideally go together with #3086

PR Checklist

  • Tests for the changes have been added / updated.
  • Documentation comments have been added / updated.
  • A changelog entry has been made for the appropriate packages.
  • Format code with the latest stable rustfmt.
  • (Team) Label with affected crates and semver status.

@tglman
Copy link
Contributor Author

tglman commented Oct 12, 2023

Hi,

This is complete also, it may conflict with the pr: #3086 because it add the same deps for test the logs, I may rebase the one of the two pr based on the one that is merged before.

Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant