Y
Hacker News
new
|
ask
|
show
|
jobs
by
alpb
3127 days ago
Oh lordy, that log.SetLogLevel() has effects outside the test code.
1 comments
tenta
3127 days ago
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.
link
sagichmal
3127 days ago
Package-level loggers are an antipattern :(
link