logger

package
v0.0.0-...-9776187 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(ctx context.Context, message string, context map[string]interface{})

Debug debug log.

func Emergency

func Emergency(ctx context.Context, message string, context map[string]interface{})

Emergency 致命错误或panic捕获

func Error

func Error(ctx context.Context, message string, context map[string]interface{})

Error error.

func Info

func Info(ctx context.Context, message string, context map[string]interface{})

Info info log.

func Recover

func Recover()

Recover 异常捕获处理

func Warn

func Warn(ctx context.Context, message string, context map[string]interface{})

Warn warn log.

Types

This section is empty.

Jump to

Keyboard shortcuts

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