logging

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

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

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

Documentation

Index

Constants

View Source
const (
	Error = "error"
	Warn  = "warn"
	Info  = "info"
	Debug = "debug"
)

Variables

Functions

func Setup

func Setup(level string)

Types

type Logger

type Logger interface {
	Log(keyvals ...interface{}) error
	Debug(keyvals ...interface{}) error
	Info(keyvals ...interface{}) error
	Warn(keyvals ...interface{}) error
	Error(keyvals ...interface{}) error
	Fatal(keyvals ...interface{})
	Panic(keyvals ...interface{})
}

func NewLogger

func NewLogger() Logger

Jump to

Keyboard shortcuts

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