mirror of
https://github.com/coredns/coredns.git
synced 2025-10-31 18:23:13 -04:00
* log: use ioutil.Discard as write buffer in benchmark Using a buffer gives unrealistic stats and consumes a large amount of memory. * log: lazily check if a msg should be logged * log: improve variable name Change 'ok' to the more descriptive 'shouldLog'. * log: code comments: don't reuse variable
2.0 KiB
2.0 KiB