logger

package
v0.0.7-alpha Latest Latest
Warning

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

Go to latest
Published: May 30, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DPanic

func DPanic(params ...interface{})

func Debug

func Debug(params ...interface{})

func Error

func Error(params ...interface{})

func Fatal

func Fatal(params ...interface{})

func Info

func Info(params ...interface{})

func New

func New(logger Logger)

func Panic

func Panic(params ...interface{})

func Warn

func Warn(params ...interface{})

Types

type Context

type Context map[string]interface{}

type Logger

type Logger interface {
	Info(...interface{})
	Error(...interface{})
	Debug(...interface{})
	Fatal(...interface{})
	Warn(...interface{})
	Panic(...interface{})
	DPanic(...interface{})
	WithContext(context Context) Logger
}

func Get

func Get() Logger

Jump to

Keyboard shortcuts

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