Versions in this module Expand all Collapse all v1 v1.0.1 Nov 9, 2023 v1.0.0 Nov 9, 2023 Changes in this version + func AddField(key, val string) + func AllTestLogsLocations() []string + func CustomDurationEncoder(t time.Duration, enc zapcore.PrimitiveArrayEncoder) + func CustomLevelEncoder(level zapcore.Level, enc zapcore.PrimitiveArrayEncoder) + func CustomTimeEncoder(t time.Time, enc zapcore.PrimitiveArrayEncoder) + func Debug(args ...interface{}) + func Debugf(format string, args ...interface{}) + func Error(args ...interface{}) + func ErrorE(err error, message string) + func Errorf(format string, args ...interface{}) + func Fatal(args ...interface{}) + func FatalE(err error, message string) + func Fatalf(format string, args ...interface{}) + func GetLogger(w zapcore.WriteSyncer) *zap.SugaredLogger + func Info(args ...interface{}) + func Infof(format string, args ...interface{}) + func Init(level zapcore.Level, dir, fileName string) error + func InitEs(host string) + func Log(args ...interface{}) + func LogDebugf(format string, args ...interface{}) + func LogE(err error) + func LogStack() + func Logf(format string, args ...interface{}) + func PError(info string) + func PErrorf(format string, args ...interface{}) + func PInfo(info string) + func PInfof(format string, args ...interface{}) + func PWarn(info string) + func PWarnf(format string, args ...interface{}) + func RedirectionDefaultLogger(w zapcore.WriteSyncer) + func TLogf(tag, format string, args ...interface{}) + func TestLogger(tag string) *testLogger + func Trace(args ...interface{}) + func Tracef(format string, args ...interface{}) + func UseBulk(enable bool) + func Warn(args ...interface{}) + func WarnE(err error, message string) + func Warnf(format string, args ...interface{}) + func WrapAndLogE(err error) + func WriteToEsWithField(field map[string]interface{}, format string, args ...interface{})