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

Add ability to set the logger on echo.Context #1377

Merged
merged 1 commit into from
Nov 11, 2019
Merged

Add ability to set the logger on echo.Context #1377

merged 1 commit into from
Nov 11, 2019

Conversation

Cyberax
Copy link
Contributor

@Cyberax Cyberax commented Aug 2, 2019

This change allows middleware to replace the logger on the echo.Context
with a customized per-request logger with additional fields. The logger
is reset to default on every Reset() call.

This change allows middleware to replace the logger on the echo.Context
with a customized per-request logger with additional fields. The logger
is reset to default on every Reset() call.
@codecov
Copy link

codecov bot commented Aug 2, 2019

Codecov Report

Merging #1377 into master will increase coverage by 0.03%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master   #1377      +/-   ##
=========================================
+ Coverage   84.06%   84.1%   +0.03%     
=========================================
  Files          27      27              
  Lines        2065    2076      +11     
=========================================
+ Hits         1736    1746      +10     
  Misses        215     215              
- Partials      114     115       +1
Impacted Files Coverage Δ
context.go 90.94% <100%> (+0.22%) ⬆️
echo.go 85.62% <0%> (-0.1%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 09d415c...0fc79dc. Read the comment docs.

@vishr vishr merged commit 5c7c87d into labstack:master Nov 11, 2019
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