log

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool

func Bool(key string, val bool) standard.Field

func ByteString

func ByteString(key string, val []byte) standard.Field

func Debug

func Debug(msg string, fields ...standard.Field)

func Debugc

func Debugc(ctx context.Context, msg string, fields ...standard.Field)

func Duration

func Duration(key string, val time.Duration) standard.Field

func Error

func Error(msg string, fields ...standard.Field)

func Errorc

func Errorc(ctx context.Context, msg string, fields ...standard.Field)

func Info

func Info(msg string, fields ...standard.Field)

func Infoc

func Infoc(ctx context.Context, msg string, fields ...standard.Field)

func Int64

func Int64(key string, val int64) standard.Field

func New

func New(path string, level string) standard.ILoggerc

func Reflect

func Reflect(key string, val interface{}) standard.Field

func String

func String(key string, val string) standard.Field

func Uint32

func Uint32(key string, val uint32) standard.Field

func Warn

func Warn(msg string, fields ...standard.Field)

func Warnc

func Warnc(ctx context.Context, msg string, fields ...standard.Field)

Types

This section is empty.

Directories

Path Synopsis
log

Jump to

Keyboard shortcuts

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