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

feature/244 #245

Merged
merged 2 commits into from
Feb 16, 2023
Merged

feature/244 #245

merged 2 commits into from
Feb 16, 2023

Conversation

akeemphilbert
Copy link
Contributor

  • Please check if the PR fulfills these requirements
  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
    Updated Zap logger middleware
    Added Zap logger initializer
    Update Log interface to inclue Warn and Warnf

  • What is the current behavior? (You can also link to an open issue here)

  • What is the new behavior (if this is a feature change)?

  • Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

The weos_mocks_test.go will need to be updated

  • Other information:

https://github.com/uber-go/zap

* Updated the middleware to configure the logger and set it to the context (for requests) and log out the request information
* Added `Warn` and `Warnf` to Log interface
@IshikaGopie IshikaGopie added this pull request to the merge queue Feb 16, 2023
Merged via the queue into dev with commit ccdeabd Feb 16, 2023
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.

2 participants