logger

package
v0.0.0-...-1a1045e Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2022 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Error

func Error(err error)

error string

func Errorf

func Errorf(format string, err error)

error with params

func Info

func Info(msg ...interface{})

info string

Types

type Logger

type Logger interface {
	Info(msg ...interface{})
	Error(err error)
	Errorf(format string, err error)
}

interface for logs

Jump to

Keyboard shortcuts

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