Versions in this module Expand all Collapse all v0 v0.1.0 Mar 19, 2022 Changes in this version + type Config struct + func NewConfig() *Config + type Field struct + func Any(key string, value interface{}) Field + func Binary(key string, val []byte) Field + func Bool(key string, val bool) Field + func Boolp(key string, val *bool) Field + func ByteString(key string, val []byte) Field + func Complex128(key string, val complex128) Field + func Complex128p(key string, val *complex128) Field + func Complex64(key string, val complex64) Field + func Complex64p(key string, val *complex64) Field + func Duration(key string, val time.Duration) Field + func Durationp(key string, val *time.Duration) Field + func Error(err error) Field + func Float32(key string, val float32) Field + func Float32p(key string, val *float32) Field + func Float64(key string, val float64) Field + func Float64p(key string, val *float64) Field + func Int(key string, val int) Field + func Int16(key string, val int16) Field + func Int16p(key string, val *int16) Field + func Int32(key string, val int32) Field + func Int32p(key string, val *int32) Field + func Int64(key string, val int64) Field + func Int64p(key string, val *int64) Field + func Int8(key string, val int8) Field + func Int8p(key string, val *int8) Field + func Intp(key string, val *int) Field + func Namespace(key string) Field + func Object(key string, val zapcore.ObjectMarshaler) Field + func Reflect(key string, val interface{}) Field + func Stack(key string) Field + func StackSkip(key string, skip int) Field + func String(key string, val string) Field + func Stringer(key string, val fmt.Stringer) Field + func Stringp(key string, val *string) Field + func Time(key string, val time.Time) Field + func Timep(key string, val *time.Time) Field + func Uint(key string, val uint) Field + func Uint16(key string, val uint16) Field + func Uint16p(key string, val *uint16) Field + func Uint32(key string, val uint32) Field + func Uint32p(key string, val *uint32) Field + func Uint64(key string, val uint64) Field + func Uint64p(key string, val *uint64) Field + func Uint8(key string, val uint8) Field + func Uint8p(key string, val *uint8) Field + func Uintp(key string, val *uint) Field + func Uintptr(key string, val uintptr) Field + func Uintptrp(key string, val *uintptr) Field + type Level int8 + const LevelDebug + const LevelError + const LevelFatal + const LevelInfo + const LevelWarn + type Logger interface + Debug func(msg string, fields ...Field) + Error func(msg string, fields ...Field) + Fatal func(msg string, fields ...Field) + Info func(msg string, fields ...Field) + WithModule func(module string) Logger + Write func(p []byte) (n int, err error) + func New(opts ...Option) (Logger, error) + type Option interface + func CallSkipOption(stack int) Option + func IsDevelopOption() Option + func LevelOption(level Level) Option v0.1.0-beta Jul 14, 2021