summaryrefslogtreecommitdiffstats
path: root/debugging.go
diff options
context:
space:
mode:
authorMarc Sauter <marc.sauter@bluewin.ch>2014-02-04 23:04:24 +0100
committerSamuel Stauffer <samuel@descolada.com>2014-03-19 21:57:59 +0100
commit3bda2b4e55f7ff8ac8bba30e0d0c606ab11ffc7e (patch)
tree312230d177c5550c4d7f22c9ec1135edee58b10f /debugging.go
parentrename (diff)
downloadldap-3bda2b4e55f7ff8ac8bba30e0d0c606ab11ffc7e.tar
ldap-3bda2b4e55f7ff8ac8bba30e0d0c606ab11ffc7e.tar.gz
ldap-3bda2b4e55f7ff8ac8bba30e0d0c606ab11ffc7e.tar.bz2
ldap-3bda2b4e55f7ff8ac8bba30e0d0c606ab11ffc7e.tar.lz
ldap-3bda2b4e55f7ff8ac8bba30e0d0c606ab11ffc7e.tar.xz
ldap-3bda2b4e55f7ff8ac8bba30e0d0c606ab11ffc7e.tar.zst
ldap-3bda2b4e55f7ff8ac8bba30e0d0c606ab11ffc7e.zip
Diffstat (limited to '')
-rw-r--r--debug.go (renamed from debugging.go)11
1 files changed, 2 insertions, 9 deletions
diff --git a/debugging.go b/debug.go
index 709c20d..56ed96f 100644
--- a/debugging.go
+++ b/debug.go
@@ -1,7 +1,3 @@
-// Copyright 2011 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
// File contains debugging functionality
package ldap
@@ -10,16 +6,13 @@ import (
"log"
)
-/*
- debbuging type
- - has a Printf method to write the debug output
-*/
+// debbuging type
+// - has a Printf method to write the debug output
type debugging bool
// write debug output
func (debug debugging) Printf(format string, args ...interface{}) {
if debug {
- // TODO: DEBUG prefix
log.Printf(format, args...)
}
}