diff options
Diffstat (limited to 'log.go')
-rw-r--r-- | log.go | 19 |
1 files changed, 0 insertions, 19 deletions
@@ -1,19 +0,0 @@ -package gocryptfs - -import ( - "fmt" -) - -type logChannel struct { - enabled bool -} - -func (l logChannel) Printf(format string, args ...interface{}) { - if l.enabled == true { - fmt.Printf(format, args...) - } -} - - -var debug = logChannel{true} -var warn = logChannel{true} |