ziflex / lecho

Zerolog wrapper for Echo framework 🍅
MIT License
99 stars 11 forks source link

Logging level fixes #8

Closed ViRb3 closed 3 years ago

ViRb3 commented 3 years ago

All logs, including errors, are currently logged as INFO. This PR makes error log as level ERROR. Additionally, there is currently no way to change the logging level from INFO to something else. Even passing a custom level logger does not have any effect. This PR uses the logger's minimum level instead of hardcoded INFO.

ziflex commented 3 years ago

Great job, thanks!