glog

package
v2.1.41 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Logger sync.Map
)

Functions

func Debug

func Debug(args ...interface{})

func DebugC added in v2.1.18

func DebugC(ctx context.Context, format string, args ...interface{})

func DebugF

func DebugF(format string, args ...interface{})

func DebugV added in v2.1.18

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

func DebugW added in v2.1.18

func DebugW(keyvals ...interface{})

func DelLogger added in v2.0.10

func DelLogger(name string)

DelLogger删除日志插件

func Error

func Error(args ...interface{})

func ErrorC added in v2.1.18

func ErrorC(ctx context.Context, format string, args ...interface{})

func ErrorF

func ErrorF(format string, args ...interface{})

func ErrorV added in v2.1.18

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

func ErrorW added in v2.1.18

func ErrorW(keyvals ...interface{})

func Fatal added in v2.1.11

func Fatal(args ...interface{})

func FatalC added in v2.1.18

func FatalC(ctx context.Context, format string, args ...interface{})

func FatalF added in v2.1.11

func FatalF(format string, args ...interface{})

func FatalV added in v2.1.18

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

func FatalW added in v2.1.18

func FatalW(keyvals ...interface{})

func Info

func Info(args ...interface{})

func InfoC added in v2.1.18

func InfoC(ctx context.Context, format string, args ...interface{})

func InfoF

func InfoF(format string, args ...interface{})

func InfoV added in v2.1.18

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

func InfoW added in v2.1.18

func InfoW(keyvals ...interface{})

func SetLogger added in v2.0.10

func SetLogger(name string, logger logx.GLog)

SetLogger设置日志打印实例,选择输出到文件,终端,阿里云日志等

func Warn

func Warn(args ...interface{})

func WarnC added in v2.1.18

func WarnC(ctx context.Context, format string, args ...interface{})

func WarnF

func WarnF(format string, args ...interface{})

func WarnV added in v2.1.18

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

func WarnW added in v2.1.18

func WarnW(keyvals ...interface{})

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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