Gitiles
Code Review
Sign In
gerrit.hackerspace.pl
/
hscloud
/
14cbacb81a6effa45300c0831e13225d2aec697f
/
.
/
go
/
vendor
/
github.com
/
go-openapi
/
runtime
/
logger
/
logger.go
blob: d62c1f708fa8ffa067887f316bafa102197ba46f [
file
] [
log
] [
blame
]
package logger
import "os"
type Logger interface {
Printf(format string, args ...interface{})
Debugf(format string, args ...interface{})
}
func DebugEnabled() bool {
return os.Getenv("SWAGGER_DEBUG") != "" || os.Getenv("DEBUG") != ""
}