Versions in this module Expand all Collapse all v2 v2.5.2 Jun 8, 2022 Changes in this version + type ConsoleEncoder struct + func (ConsoleEncoder) CaddyModule() caddy.ModuleInfo + func (ce *ConsoleEncoder) Provision(_ caddy.Context) error + func (ce *ConsoleEncoder) UnmarshalCaddyfile(d *caddyfile.Dispenser) error + type CookieFilter struct + Actions []cookieFilterAction + func (CookieFilter) CaddyModule() caddy.ModuleInfo + func (f *CookieFilter) Validate() error + func (m *CookieFilter) UnmarshalCaddyfile(d *caddyfile.Dispenser) error + func (m CookieFilter) Filter(in zapcore.Field) zapcore.Field + type DeleteFilter struct + func (DeleteFilter) CaddyModule() caddy.ModuleInfo + func (DeleteFilter) Filter(in zapcore.Field) zapcore.Field + func (DeleteFilter) UnmarshalCaddyfile(d *caddyfile.Dispenser) error + type FileWriter struct + Filename string + Roll *bool + RollCompress *bool + RollKeep int + RollKeepDays int + RollLocalTime bool + RollSizeMB int + func (FileWriter) CaddyModule() caddy.ModuleInfo + func (fw *FileWriter) Provision(ctx caddy.Context) error + func (fw *FileWriter) UnmarshalCaddyfile(d *caddyfile.Dispenser) error + func (fw FileWriter) OpenWriter() (io.WriteCloser, error) + func (fw FileWriter) String() string + func (fw FileWriter) WriterKey() string + type FilterEncoder struct + Fields map[string]LogFieldFilter + FieldsRaw map[string]json.RawMessage + WrappedRaw json.RawMessage + func (FilterEncoder) CaddyModule() caddy.ModuleInfo + func (fe *FilterEncoder) Provision(ctx caddy.Context) error + func (fe *FilterEncoder) UnmarshalCaddyfile(d *caddyfile.Dispenser) error + func (fe FilterEncoder) AddArray(key string, marshaler zapcore.ArrayMarshaler) error + func (fe FilterEncoder) AddBinary(key string, value []byte) + func (fe FilterEncoder) AddBool(key string, value bool) + func (fe FilterEncoder) AddByteString(key string, value []byte) + func (fe FilterEncoder) AddComplex128(key string, value complex128) + func (fe FilterEncoder) AddComplex64(key string, value complex64) + func (fe FilterEncoder) AddDuration(key string, value time.Duration) + func (fe FilterEncoder) AddFloat32(key string, value float32) + func (fe FilterEncoder) AddFloat64(key string, value float64) + func (fe FilterEncoder) AddInt(key string, value int) + func (fe FilterEncoder) AddInt16(key string, value int16) + func (fe FilterEncoder) AddInt32(key string, value int32) + func (fe FilterEncoder) AddInt64(key string, value int64) + func (fe FilterEncoder) AddInt8(key string, value int8) + func (fe FilterEncoder) AddObject(key string, marshaler zapcore.ObjectMarshaler) error + func (fe FilterEncoder) AddReflected(key string, value interface{}) error + func (fe FilterEncoder) AddString(key, value string) + func (fe FilterEncoder) AddTime(key string, value time.Time) + func (fe FilterEncoder) AddUint(key string, value uint) + func (fe FilterEncoder) AddUint16(key string, value uint16) + func (fe FilterEncoder) AddUint32(key string, value uint32) + func (fe FilterEncoder) AddUint64(key string, value uint64) + func (fe FilterEncoder) AddUint8(key string, value uint8) + func (fe FilterEncoder) AddUintptr(key string, value uintptr) + func (fe FilterEncoder) Clone() zapcore.Encoder + func (fe FilterEncoder) EncodeEntry(ent zapcore.Entry, fields []zapcore.Field) (*buffer.Buffer, error) + func (fe FilterEncoder) OpenNamespace(key string) + type HashFilter struct + func (HashFilter) CaddyModule() caddy.ModuleInfo + func (f *HashFilter) Filter(in zapcore.Field) zapcore.Field + func (f *HashFilter) UnmarshalCaddyfile(d *caddyfile.Dispenser) error + type IPMaskFilter struct + IPv4MaskRaw int + IPv6MaskRaw int + func (IPMaskFilter) CaddyModule() caddy.ModuleInfo + func (m *IPMaskFilter) Provision(ctx caddy.Context) error + func (m *IPMaskFilter) UnmarshalCaddyfile(d *caddyfile.Dispenser) error + func (m IPMaskFilter) Filter(in zapcore.Field) zapcore.Field + type JSONEncoder struct + func (JSONEncoder) CaddyModule() caddy.ModuleInfo + func (je *JSONEncoder) Provision(_ caddy.Context) error + func (je *JSONEncoder) UnmarshalCaddyfile(d *caddyfile.Dispenser) error + type LogEncoderConfig struct + CallerKey *string + DurationFormat string + LevelFormat string + LevelKey *string + LineEnding *string + MessageKey *string + NameKey *string + StacktraceKey *string + TimeFormat string + TimeKey *string + func (lec *LogEncoderConfig) UnmarshalCaddyfile(d *caddyfile.Dispenser) error + func (lec *LogEncoderConfig) ZapcoreEncoderConfig() zapcore.EncoderConfig + type LogFieldFilter interface + Filter func(zapcore.Field) zapcore.Field + type NetWriter struct + Address string + DialTimeout caddy.Duration + func (NetWriter) CaddyModule() caddy.ModuleInfo + func (nw *NetWriter) Provision(ctx caddy.Context) error + func (nw *NetWriter) UnmarshalCaddyfile(d *caddyfile.Dispenser) error + func (nw NetWriter) OpenWriter() (io.WriteCloser, error) + func (nw NetWriter) String() string + func (nw NetWriter) WriterKey() string + type QueryFilter struct + Actions []queryFilterAction + func (QueryFilter) CaddyModule() caddy.ModuleInfo + func (f *QueryFilter) Validate() error + func (m *QueryFilter) UnmarshalCaddyfile(d *caddyfile.Dispenser) error + func (m QueryFilter) Filter(in zapcore.Field) zapcore.Field + type RegexpFilter struct + RawRegexp string + Value string + func (RegexpFilter) CaddyModule() caddy.ModuleInfo + func (f *RegexpFilter) Filter(in zapcore.Field) zapcore.Field + func (f *RegexpFilter) UnmarshalCaddyfile(d *caddyfile.Dispenser) error + func (m *RegexpFilter) Provision(ctx caddy.Context) error + type RenameFilter struct + Name string + func (RenameFilter) CaddyModule() caddy.ModuleInfo + func (f *RenameFilter) Filter(in zapcore.Field) zapcore.Field + func (f *RenameFilter) UnmarshalCaddyfile(d *caddyfile.Dispenser) error + type ReplaceFilter struct + Value string + func (ReplaceFilter) CaddyModule() caddy.ModuleInfo + func (f *ReplaceFilter) Filter(in zapcore.Field) zapcore.Field + func (f *ReplaceFilter) UnmarshalCaddyfile(d *caddyfile.Dispenser) error