Documentation ¶
Overview ¶
Code generated by log-gen. DO NOT EDIT.
Code generated by log-gen. DO NOT EDIT.
Index ¶
- func Check(lvl zapcore.Level, msg string) *zapcore.CheckedEntry
- func Core() zapcore.Core
- func DPanic(msg string, fields ...Field)
- func Debug(msg string, fields ...Field)
- func Error(msg string, fields ...Field)
- func Fatal(msg string, fields ...Field)
- func GetLogger(outputPath, errorPath []string) *log.Logger
- func Info(msg string, fields ...Field)
- func InitLogger()
- func Level() zapcore.Level
- func Log(lvl zapcore.Level, msg string, fields ...Field)
- func Panic(msg string, fields ...Field)
- func Sync() error
- func Warn(msg string, fields ...Field)
- type Field
- 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 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 Inline(val zapcore.ObjectMarshaler) 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 Skip() 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 Logger
- type Option
- type SugaredLogger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitLogger ¶
func InitLogger()
Types ¶
type Field ¶
func ByteString ¶
func Complex128 ¶
func Complex128(key string, val complex128) Field
func Complex128p ¶
func Complex128p(key string, val *complex128) Field
func Complex64p ¶
func Inline ¶
func Inline(val zapcore.ObjectMarshaler) Field
type Logger ¶
func WithOptions ¶
type SugaredLogger ¶
type SugaredLogger = log.SugaredLogger
func Sugar ¶
func Sugar() *SugaredLogger
Click to show internal directories.
Click to hide internal directories.