aboutsummaryrefslogtreecommitdiff
path: root/sftp/debug.go
diff options
context:
space:
mode:
Diffstat (limited to 'sftp/debug.go')
-rw-r--r--sftp/debug.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/sftp/debug.go b/sftp/debug.go
new file mode 100644
index 0000000..3e264ab
--- /dev/null
+++ b/sftp/debug.go
@@ -0,0 +1,9 @@
+// +build debug
+
+package sftp
+
+import "log"
+
+func debug(fmt string, args ...interface{}) {
+ log.Printf(fmt, args...)
+}