func init() {  
	if debug {
		log.SetLogLevel(log.Debug)
	}
	longVersion = version + " " + buildInfo + " " + runtime.Version()
}
Carefully manually tested all the combinations in pair with Dockerfile.
package version  
import (
	"runtime"
	"fortio.org/fortio/log"
)
const (
	debug = false  
)
var (
	buildInfo = "unknown"
	version   = "dev"
	longVersion = ""
)
func Short() string {
	return version
}
func Long() string {
	return longVersion
}