log

package
v1.1.13 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2022 License: MIT Imports: 10 Imported by: 3

Documentation

Index

Constants

View Source
const LOG_TRADE_ID = "__GTraceId__"

Variables

This section is empty.

Functions

func CnTimeEncoder

func CnTimeEncoder(t time.Time, enc zapcore.PrimitiveArrayEncoder)

func Debug

func Debug(c context.Context, args ...interface{})

func Error

func Error(c context.Context, args ...interface{})

func Fatal

func Fatal(c context.Context, args ...interface{})

func Info

func Info(c context.Context, args ...interface{})

func Log

func Log(c context.Context, level zapcore.Level, args ...interface{})

func LogLess

func LogLess() zapcore.Level

func LogMore

func LogMore() zapcore.Level

func Panic

func Panic(c context.Context, args ...interface{})

func Recover

func Recover(c context.Context, arg0 interface{})

func Warn

func Warn(c context.Context, args ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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