logs

package
v1.1.23 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2022 License: MIT Imports: 12 Imported by: 15

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DPanic added in v1.1.6

func DPanic(args ...interface{})

func DPanicf added in v1.1.6

func DPanicf(template string, args ...interface{})

func DPanicw added in v1.1.6

func DPanicw(msg string, keysAndValues ...interface{})

func Debug

func Debug(args ...interface{})

func Debugf added in v1.1.6

func Debugf(template string, args ...interface{})

func Debugw added in v1.1.6

func Debugw(msg string, keysAndValues ...interface{})

func Desugar added in v1.1.8

func Desugar() *zap.Logger

func Error

func Error(args ...interface{})

func Errorf added in v1.1.6

func Errorf(template string, args ...interface{})

func Errorw added in v1.1.6

func Errorw(msg string, keysAndValues ...interface{})

func Fatal added in v1.1.6

func Fatal(args ...interface{})

func Fatalf added in v1.1.6

func Fatalf(template string, args ...interface{})

func Fatalw added in v1.1.6

func Fatalw(msg string, keysAndValues ...interface{})

func Info

func Info(args ...interface{})

func Infof added in v1.1.6

func Infof(template string, args ...interface{})

func Infow added in v1.1.6

func Infow(msg string, keysAndValues ...interface{})

func LogName added in v1.1.11

func LogName(paths ...string) string

func NewDebug added in v1.1.2

func NewDebug() *zap.Logger

func NewGormLogger added in v1.1.3

func NewGormLogger(slows ...time.Duration) logger.Interface

func NewInfo added in v1.1.23

func NewInfo() *zap.Logger

func NewRotate added in v1.1.2

func NewRotate(config *lumberjack.Logger) *zap.Logger

func Panic added in v1.0.37

func Panic(args ...interface{})

func Panicf added in v1.1.6

func Panicf(template string, args ...interface{})

func Panicw added in v1.1.6

func Panicw(msg string, keysAndValues ...interface{})

func RotateLog added in v1.1.11

func RotateLog(paths ...string)

func SetInfoLevel added in v1.1.23

func SetInfoLevel()

func Sync added in v1.1.11

func Sync()

func Warn

func Warn(args ...interface{})

func Warnf added in v1.1.6

func Warnf(template string, args ...interface{})

func Warnw added in v1.1.6

func Warnw(msg string, keysAndValues ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL