blob: 935da431870760f630417c6c5e432df79f5fc652 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// vlog -- verbose logger -- wraps log functions and only performs them if "verbose" config setting is true
package vlog
import (
"snkt/config"
"log"
)
func Printf(format string, v ...interface{}) {
if config.Config.Verbose {
log.Printf(format, v...)
}
}
|