Files
interrupt/version/logversion.go
2021-04-30 18:28:57 +02:00

17 lines
279 B
Go

package version
import (
"path/filepath"
"runtime"
"github.com/p9c/log"
)
var F, E, W, I, D, T log.LevelPrinter
func init() {
_, file,_, _ := runtime.Caller(0)
verPath := filepath.Dir(file)+"/"
F, E, W, I, D, T = log.GetLogPrinterSet(log.AddLoggerSubsystem(verPath))
}