flamingo icon indicating copy to clipboard operation
flamingo copied to clipboard

empty flamingo.StdLogger not usable

Open bastianccm opened this issue 4 years ago • 3 comments

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

Tested with go 1.14.6

bastianccm avatar Aug 10 '20 13:08 bastianccm

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

tessig avatar Nov 19 '20 14:11 tessig

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

nico-i avatar Oct 10 '22 12:10 nico-i

@bastianccm Issue has been fixed in the PR above.

nico-i avatar Oct 17 '22 06:10 nico-i