File: utils.go

package info (click to toggle)
golang-github-docker-spdystream 0.0~git20151103.0.4d80814-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 224 kB
  • sloc: makefile: 18
file content (16 lines) | stat: -rw-r--r-- 185 bytes parent folder | download | duplicates (5)
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...)
	}
}