console

package
v3.1.10 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	L    func() *zap.Logger        = zapKit.L
	S    func() *zap.SugaredLogger = zapKit.S
	Sync func()                    = zapKit.Sync
)
View Source
var (
	Debug   func(msg string, fields ...zap.Field)          = zapKit.Debug
	Debugw  func(msg string, keysAndValues ...interface{}) = zapKit.Debugw
	Debugln func(args ...interface{})                      = zapKit.Debugln

	// Info
	/*
	   @param fields 输出循序与 传参fields 顺序一致(并不会按字母排序)
	*/
	Info   func(msg string, fields ...zap.Field)          = zapKit.Info
	Infow  func(msg string, keysAndValues ...interface{}) = zapKit.Infow
	Infoln func(args ...interface{})                      = zapKit.Infoln

	Warn   func(msg string, fields ...zap.Field)          = zapKit.Warn
	Warnw  func(msg string, keysAndValues ...interface{}) = zapKit.Warnw
	Warnln func(args ...interface{})                      = zapKit.Warnln

	Error   func(msg string, fields ...zap.Field)          = zapKit.Error
	Errorw  func(msg string, keysAndValues ...interface{}) = zapKit.Errorw
	Errorln func(args ...interface{})                      = zapKit.Errorln

	Panic   func(msg string, fields ...zap.Field)          = zapKit.Panic
	Panicw  func(msg string, keysAndValues ...interface{}) = zapKit.Panicw
	Panicln func(args ...interface{})                      = zapKit.Panicln

	DPanic   func(msg string, fields ...zap.Field)          = zapKit.DPanic
	DPanicw  func(msg string, keysAndValues ...interface{}) = zapKit.DPanicw
	DPanicln func(args ...interface{})                      = zapKit.DPanicln

	Fatal   func(msg string, fields ...zap.Field)          = zapKit.Fatal
	Fatalw  func(msg string, keysAndValues ...interface{}) = zapKit.Fatalw
	Fatalln func(args ...interface{})                      = zapKit.Fatalln
)

Functions

func DPanicf

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

DPanicf TODO: 暂不将 zapKit.Debugf 赋值给函数变量,原因: GoLand不支持.

func Debugf

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

Debugf TODO: 暂不将 zapKit.Debugf 赋值给函数变量,原因: GoLand不支持.

func Errorf

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

Errorf TODO: 暂不将 zapKit.Debugf 赋值给函数变量,原因: GoLand不支持.

func Fatalf

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

Fatalf TODO: 暂不将 zapKit.Debugf 赋值给函数变量,原因: GoLand不支持.

func Infof

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

Infof TODO: 暂不将 zapKit.Debugf 赋值给函数变量,原因: GoLand不支持.

func Panicf

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

Panicf TODO: 暂不将 zapKit.Debugf 赋值给函数变量,原因: GoLand不支持.

func PrintBasicDetails

func PrintBasicDetails()

func Warnf

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

Warnf TODO: 暂不将 zapKit.Debugf 赋值给函数变量,原因: GoLand不支持.

Types

This section is empty.

Jump to

Keyboard shortcuts

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