modulepackage
0.0.0-20190816072228-f216e906756e
Repository: https://github.com/godcong/go-trait.git
Documentation: pkg.go.dev
# Functions
ClientOptions ...
CompressToFile ...
Debug uses fmt.Sprint to construct and log a message.
Debugf uses fmt.Sprintf to log a templated message.
Debugw logs a message with some additional context.
DecompressFromFile ...
DecompressFromStatik ...
DPanic uses fmt.Sprint to construct and log a message.
DPanicf uses fmt.Sprintf to log a templated message.
DPanicw logs a message with some additional context.
ElasticLogLevel ...
Error uses fmt.Sprint to construct and log a message.
Errorf uses fmt.Sprintf to log a templated message.
Errorw logs a message with some additional context.
Fatal uses fmt.Sprint to construct and log a message, then calls os.Exit.
Fatalf uses fmt.Sprintf to log a templated message, then calls os.Exit.
Fatalw logs a message with some additional context, then calls os.Exit.
Formatter ...
GenerateRandomString 随机字符串.
Host ...
Info uses fmt.Sprint to construct and log a message.
Infof uses fmt.Sprintf to log a templated message.
Infow logs a message with some additional context.
InitElasticLog ...
InitGlobalZapSugar ...
InitRotateLog ...
MaxAge ...
NewZap ...
NewZapFile ...
NewZapFileSugar ...
NewZapSugar ...
NoOutput ...
Panic uses fmt.Sprint to construct and log a message, then panics.
Panicf uses fmt.Sprintf to log a templated message, then panics.
Panicw logs a message with some additional context, then panics.
ReportCaller ...
RotateLogLevel ...
RotationTime ...
Warn uses fmt.Sprint to construct and log a message.
Warnf uses fmt.Sprintf to log a templated message.
Warnw logs a message with some additional context.
With adds a variadic number of fields to the logging context.
# Constants
数字、大小写字母.
小写字母.
数字、小写字母.
纯数字.
大写字母.
数字、大写字母.
RotateLogAll ...
RotateLogAll ...
RotateLogAll ...
RotateLogAll ...
RotateLogAll ...
RotateLogAll ...
RotateLogAll ...
RotateLogAll ...
RotateLogAll ...
# Variables
RandomString defines */.
# Type aliases
ElasticLogOption ...
RandomKind RandomKind */.
RotateLogOption ...