zproxy/zlog/type.go

17 lines
318 B
Go
Raw Permalink Normal View History

2024-02-13 19:45:15 +08:00
package zlog
import (
"go.uber.org/zap/zapcore"
)
// Level is type of log levels
type Level = zapcore.Level
type FLogf = func(template string, args ...interface{})
type FLog = func(args ...interface{})
var (
Debugf, Infof, Warnf, Errorf, Panicf, Fatalf FLogf
Debug, Error, Panic, Fatal FLog
)