log

package
v0.0.0-...-3bb466a Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Error

func Error(msg string)

func Fatal

func Fatal(msg string)

func Info

func Info(msg string)

func Panic

func Panic(msg string)

func Warn

func Warn(msg string)

Types

type F

type F map[string]interface{}

type Log

type Log interface {
	KV(k string, v interface{}) Log
	KVs(F) Log
	Err(error) Log

	Info(string)
	Error(string)
	Warn(string)
	Fatal(string)
	Panic(string)
}

func Err

func Err(err error) Log

func KV

func KV(k string, v interface{}) Log

func KVs

func KVs(f F) Log

func Nop

func Nop() Log

Jump to

Keyboard shortcuts

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