Documentation
¶
Index ¶
- Variables
- func Debug(args ...any)
- func Debugf(template string, args ...any)
- func Error(args ...any)
- func Errorf(template string, args ...any)
- func Fatal(args ...any)
- func Fatalf(template string, args ...any)
- func GetLoggerLevel(lvl string) zapcore.Level
- func Info(args ...any)
- func Infof(template string, args ...any)
- func InitLogger(isLogConsole bool, lv zapcore.Level, folder string)
- func InitServiceLogger(isLogConsole bool)
- func Log(lv zapcore.Level, callerLevel int, prefix []any, args ...any)
- func LogErr(err error) error
- func Logf(lv zapcore.Level, callerLevel int, prefix []any, template string, args ...any)
- func NewTimeLogger(name string) *timeLogger
- func Warn(args ...any)
- func Warnf(template string, args ...any)
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultKratosLogger *kratosZapLogger
Functions ¶
func GetLoggerLevel ¶
func InitServiceLogger ¶
func InitServiceLogger(isLogConsole bool)
func NewTimeLogger ¶
func NewTimeLogger(name string) *timeLogger
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.