debugpkg

package
v0.2.16 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2024 License: Apache-2.0 Imports: 4 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloseDebug

func CloseDebug()

CloseDebug ...

func Debug

func Debug(a ...interface{})

Debug .

func DebugWithContext

func DebugWithContext(ctx context.Context, a ...interface{})

DebugWithContext .

func Debugf

func Debugf(format string, a ...interface{})

Debugf .

func DebugfWithContext

func DebugfWithContext(ctx context.Context, format string, a ...interface{})

DebugfWithContext .

func Debugw

func Debugw(keyvals ...interface{})

Debugw .

func DebugwWithContext

func DebugwWithContext(ctx context.Context, keyvals ...interface{})

DebugwWithContext .

func Error

func Error(a ...interface{})

Error .

func ErrorWithContext

func ErrorWithContext(ctx context.Context, a ...interface{})

ErrorWithContext .

func Errorf

func Errorf(format string, a ...interface{})

Errorf .

func ErrorfWithContext

func ErrorfWithContext(ctx context.Context, format string, a ...interface{})

ErrorfWithContext .

func Errorw

func Errorw(keyvals ...interface{})

Errorw .

func ErrorwWithContext

func ErrorwWithContext(ctx context.Context, keyvals ...interface{})

ErrorwWithContext .

func Fatal

func Fatal(a ...interface{})

Fatal .

func FatalWithContext

func FatalWithContext(ctx context.Context, a ...interface{})

FatalWithContext .

func Fatalf

func Fatalf(format string, a ...interface{})

Fatalf .

func FatalfWithContext

func FatalfWithContext(ctx context.Context, format string, a ...interface{})

FatalfWithContext .

func Fatalw

func Fatalw(keyvals ...interface{})

Fatalw .

func FatalwWithContext

func FatalwWithContext(ctx context.Context, keyvals ...interface{})

FatalwWithContext .

func Info

func Info(a ...interface{})

Info .

func InfoWithContext

func InfoWithContext(ctx context.Context, a ...interface{})

InfoWithContext .

func Infof

func Infof(format string, a ...interface{})

Infof .

func InfofWithContext

func InfofWithContext(ctx context.Context, format string, a ...interface{})

InfofWithContext .

func Infow

func Infow(keyvals ...interface{})

Infow .

func InfowWithContext

func InfowWithContext(ctx context.Context, keyvals ...interface{})

InfowWithContext .

func Print

func Print(a ...interface{})

Print .

func PrintWithContext

func PrintWithContext(ctx context.Context, a ...interface{})

PrintWithContext .

func Printf

func Printf(format string, a ...interface{})

Printf .

func PrintfWithContext

func PrintfWithContext(ctx context.Context, format string, a ...interface{})

PrintfWithContext .

func Println

func Println(a ...interface{})

Println .

func PrintlnWithContext

func PrintlnWithContext(ctx context.Context, a ...interface{})

PrintlnWithContext .

func Printw

func Printw(keyvals ...interface{})

Printw .

func PrintwWithContext

func PrintwWithContext(ctx context.Context, keyvals ...interface{})

PrintwWithContext .

func Setup

func Setup(opts ...Option) (closer io.Closer, err error)

Setup 启动

func Warn

func Warn(a ...interface{})

Warn .

func WarnWithContext

func WarnWithContext(ctx context.Context, a ...interface{})

WarnWithContext .

func Warnf

func Warnf(format string, a ...interface{})

Warnf .

func WarnfWithContext

func WarnfWithContext(ctx context.Context, format string, a ...interface{})

WarnfWithContext .

func Warnw

func Warnw(keyvals ...interface{})

Warnw .

func WarnwWithContext

func WarnwWithContext(ctx context.Context, keyvals ...interface{})

WarnwWithContext .

Types

type Option

type Option func(*options)

Option is config option.

func WithUseJSONFormat

func WithUseJSONFormat() Option

WithUseJSONFormat json format

Jump to

Keyboard shortcuts

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