1
0
mirror of https://github.com/rancher/rke.git synced 2025-08-18 06:47:13 +00:00
rke/vendor/github.com/docker/spdystream/utils.go
2018-10-26 21:46:20 -07:00

17 lines
185 B
Go

package spdystream
import (
"log"
"os"
)
var (
DEBUG = os.Getenv("DEBUG")
)
func debugMessage(fmt string, args ...interface{}) {
if DEBUG != "" {
log.Printf(fmt, args...)
}
}