i-love-flamingo / flamingo

Flamingo Framework and Core Library. Flamingo is a go based framework to build pluggable applications. Focus is on clean architecture, maintainability and operation readiness.

Home Page:http://www.flamingo.me

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

empty flamingo.StdLogger not usable

bastianccm opened this issue · comments

new(flamingo.StdLogger).Debug(...) will panic, as the underlying log.Logger is not ready to use anymore.

Tested with go 1.14.6

A solution can be to initialize the Logger field if not set.

I would like to try to solve this issue. @bastianccm or @tessig can you please assign it to me in regards to hacktoberfest?

@bastianccm Issue has been fixed in the PR above.