Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Vosmaer <jacob@gitlab.com>2017-05-10 17:59:12 +0300
committerJacob Vosmaer <jacob@gitlab.com>2017-05-10 17:59:12 +0300
commitb40e5bfb024f9c1862905e3d7d502b2f20648e8e (patch)
tree6acacf7549ae636e9098474f28acd8aa72a07b27
parenteb5b9b3af8d2668adff3e2f9edd76396cd4b7793 (diff)
Doc comment
-rw-r--r--internal/helper/debug.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/helper/debug.go b/internal/helper/debug.go
index 48116b2ba..f016ece8c 100644
--- a/internal/helper/debug.go
+++ b/internal/helper/debug.go
@@ -5,6 +5,7 @@ import (
"os"
)
+// Debugf behaves similarly to log.Printf. No-op unless GITALY_DEBUG=1.
func Debugf(format string, args ...interface{}) {
if os.Getenv("GITALY_DEBUG") != "1" {
return