HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by alpb | Hacker News Reader
Parent
Full thread
alpb
·
Oh lordy, that log.SetLogLevel() has effects outside the test code.
View on HN
tenta
·
Setting the log level has effects, but only on an internal wrapper package that neatly zips up the nitty gritty of setting up the logger.
sagichmal
·
Package-level loggers are an antipattern :(
Reply on news.ycombinator.com