Versions in this module Expand all Collapse all v0 v0.0.2 Jul 2, 2021 Changes in this version + const RequestIdKey + func GetInstance() *zap.Logger + func GetRequestIdFromLocal() string + func ISOTimeEncoder(t time.Time, enc zapcore.PrimitiveArrayEncoder) + func New(params ...interface{}) + func SetRequestIdFromLocal(requestId string) + type Configuration struct + AddCallerSkip int + Console Console + Files []File + RequestId bool + func (c *Configuration) Initialize(params ...interface{}) interface{} + type Console struct + Encoder EncoderConfig + Level string + type EncoderConfig struct + CallerKey string + LevelKey string + LineEnding string + MessageKey string + NameKey string + StacktraceKey string + TimeFormat string + TimeKey string + type File struct + Encoder EncoderConfig + Level string + Logger Logger + type Files struct + Files []File + type Logger struct + Compress bool + Filename string + LocalTime bool + MaxAge int + MaxBackups int + MaxSize int v0.0.1 Jun 30, 2021