fnlog

package module
v0.0.0-...-2955480 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Debuglvl logLevel = iota
	Tracelvl
	Infolvl
	Warnlvl
	Errorlvl
	Fatallvl
	Paniclvl
)

Variables

This section is empty.

Functions

func AddField

func AddField(ctx context.Context, key string, value interface{})

func Debug

func Debug(args ...interface{})

func Error

func Error(args ...interface{})

func Fatal

func Fatal(args ...interface{})

func Info

func Info(args ...interface{})

func LoggingMiddleware

func LoggingMiddleware() func(http.Handler) http.Handler

func Panic

func Panic(args ...interface{})

func Trace

func Trace(args ...interface{})

func Warn

func Warn(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