News for hackers. Stuff that matters.
Re:Show HN: Golang DNS server, including DNSSEC and DNS-over... by alpb on Tuesday November 28, 2017 @12:37PM (#15799414)
Oh lordy, that log.SetLogLevel() has effects outside the test code.
Re:Show HN: Golang DNS server, including DNSSEC and DNS-over... by tenta on Tuesday November 28, 2017 @12:45PM (#15799488)
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.
Re:Show HN: Golang DNS server, including DNSSEC and DNS-over... by sagichmal on Tuesday November 28, 2017 @07:34PM (#15803431)
Package-level loggers are an antipattern :(