log

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Slogger *zap.SugaredLogger
)

Functions

func DPanic

func DPanic(message string, fields ...zap.Field)

func Debug

func Debug(message string, fields ...zap.Field)

func Error

func Error(message string, fields ...zap.Field)

func Fatal

func Fatal(message string, fields ...zap.Field)

func Info

func Info(message string, fields ...zap.Field)

func Init added in v0.1.2

func Init(multi bool)

func InitWithMultiLevelOutPut

func InitWithMultiLevelOutPut()

func InitWithSingleLevelOutput

func InitWithSingleLevelOutput()

func NewCustomEncoderConfig

func NewCustomEncoderConfig() zapcore.EncoderConfig

func Panic

func Panic(message string, fields ...zap.Field)

func SDPanic

func SDPanic(args ...interface{})

func SDPanicf

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

func SDPanicw

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

func SDebug

func SDebug(args ...interface{})

func SDebugf

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

func SDebugw

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

func SError

func SError(args ...interface{})

func SErrorf

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

func SErrorw

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

func SFatal

func SFatal(args ...interface{})

func SFatalf

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

func SFatalw

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

func SInfo

func SInfo(args ...interface{})

func SInfof

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

func SInfow

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

func SPanic

func SPanic(args ...interface{})

func SPanicf

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

func SPanicw

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

func SWarn

func SWarn(args ...interface{})

func SWarnf

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

func SWarnw

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

func Warn

func Warn(message string, fields ...zap.Field)

Types

This section is empty.

Jump to

Keyboard shortcuts

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