Versions in this module Expand all Collapse all v2 v2.5.2 Apr 24, 2024 v2.5.1 Apr 24, 2024 Changes in this version + const DPanicLevel + const DebugLevel + const ErrorLevel + const FatalLevel + const InfoLevel + const PanicLevel + const WarnLevel + func Cleanup() + func Debugf(format string, args ...interface{}) + func Error(err error) + func Errorf(format string, args ...interface{}) + func Fatalf(format string, args ...interface{}) + func Infof(format string, args ...interface{}) + func LogLevel() string + func SetDefaultLoggerAndFlusher(logger Logger, flusher Flusher) + func Warnf(format string, args ...interface{}) + type Flusher = func() error + func GetDefaultFlusher() Flusher + type Level = zapcore.Level + type Logger interface + Debugf func(format string, args ...interface{}) + Errorf func(format string, args ...interface{}) + Fatalf func(format string, args ...interface{}) + Infof func(format string, args ...interface{}) + Warnf func(format string, args ...interface{}) + func CreateLoggerAsLocalFile(localFilePath string, logLevel Level) (logger Logger, flush func() error, err error) + func GetDefaultLogger() Logger