logger

package
v0.7.10 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LogFiles = []string{
	"log",
	"panic",
	"space",
	"report",
	"replace",
	"ichal",
	"schal",
	"stag",
	"restore",
	"parseblock",
	"discover",
}

Functions

This section is empty.

Types

type Logger

type Logger interface {
	Log(level string, msg string)
	Pnc(msg string)
	Space(level string, msg string)
	Report(level string, msg string)
	Replace(level string, msg string)
	Ichal(level string, msg string)
	Schal(level string, msg string)
	Stag(level string, msg string)
	Restore(level string, msg string)
	Parseblock(level string, msg string)
	Discover(level, msg string)
}

func NewLogs

func NewLogs(logfiles map[string]string) (Logger, error)

Jump to

Keyboard shortcuts

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