summaryrefslogtreecommitdiff
path: root/vendor/github.com/docker/spdystream/utils.go
blob: 1b2c199a40212794c0be8321115b4e2594694826 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package spdystream

import (
	"log"
	"os"
)

var (
	DEBUG = os.Getenv("DEBUG")
)

func debugMessage(fmt string, args ...interface{}) {
	if DEBUG != "" {
		log.Printf(fmt, args...)
	}
}