mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-07-29 15:58:24 +00:00
13 lines
253 B
Go
13 lines
253 B
Go
package logging
|
|
|
|
import (
|
|
"io"
|
|
"log"
|
|
)
|
|
|
|
// SuppressDefaultLogging suppresses the default logging
|
|
func SuppressDefaultLogging() {
|
|
// Some packages use the default logger, so we need to suppress it. (such as uber-go/tally)
|
|
log.SetOutput(io.Discard)
|
|
}
|