diff options
Diffstat (limited to 'vlog/vlog.go')
| -rw-r--r-- | vlog/vlog.go | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/vlog/vlog.go b/vlog/vlog.go deleted file mode 100644 index ab48478..0000000 --- a/vlog/vlog.go +++ /dev/null @@ -1,25 +0,0 @@ -// vlog -- verbose logger -- wraps log functions and only performs them if "verbose" -package vlog - -import ( - "fmt" -) - -var VERBOSE bool - -func init() { - VERBOSE=false -} - -func Printf(format string, v ...interface{}) { - if VERBOSE { - fmt.Printf(format, v...) - } -} - -func Println(v ...interface{}) { - if VERBOSE { - fmt.Println(v...) - } -} - |
