debian/andlabs/log.go

25 lines
380 B
Go
Raw Normal View History

2024-01-01 16:11:54 -06:00
package main
import (
witlog "go.wit.com/log"
)
// various debugging flags
var logNow bool = true // useful for active development
var logError bool = true
var logWarn bool = true
var logInfo bool = false
var logVerbose bool = false
func log(b bool, a ...any) {
witlog.Log(b, a...)
}
func sleep(a ...any) {
witlog.Sleep(a...)
}
func exit(a ...any) {
witlog.Exit(a...)
}