25 lines
391 B
Go
25 lines
391 B
Go
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 *witlog.LogFlag, a ...any) {
|
|
witlog.Log(b, a...)
|
|
}
|
|
|
|
func sleep(a ...any) {
|
|
witlog.Sleep(a...)
|
|
}
|
|
|
|
func exit(a ...any) {
|
|
witlog.Exit(a...)
|
|
}
|