k3s/vendor/github.com/docker/spdystream/utils.go

17 lines
185 B
Go
Raw Normal View History

2019-01-12 04:58:27 +00:00
package spdystream
import (
"log"
"os"
)
var (
DEBUG = os.Getenv("DEBUG")
)
func debugMessage(fmt string, args ...interface{}) {
if DEBUG != "" {
log.Printf(fmt, args...)
}
}