Skip to content

Able to set NoColor for echo.Logger and echo.middleware.Logger #2159

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

Closed
wants to merge 2 commits into from

Conversation

wsw0108
Copy link

@wsw0108 wsw0108 commented Apr 19, 2022

close #1871

@codecov
Copy link

codecov bot commented Apr 19, 2022

Codecov Report

Merging #2159 (057a053) into master (572466d) will decrease coverage by 0.17%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #2159      +/-   ##
==========================================
- Coverage   92.20%   92.02%   -0.18%     
==========================================
  Files          37       37              
  Lines        3090     3096       +6     
==========================================
  Hits         2849     2849              
- Misses        151      154       +3     
- Partials       90       93       +3     
Impacted Files Coverage Δ
echo.go 93.96% <0.00%> (-1.21%) ⬇️
middleware/logger.go 85.71% <0.00%> (-1.56%) ⬇️

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 572466d...057a053. Read the comment docs.

@lammel
Copy link
Contributor

lammel commented Nov 30, 2022

This strongly relates to v5, as coloring is removed there entirely. So adding a new parameter would mean a breaking change (or having to deprecate it with v5).

Not sure if we should do that now. Your views welcome

@aldas aldas closed this Mar 6, 2024
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.

how to disable the stdout log color?
3 participants