logger

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 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",
		"upfile",
		"downfile",
		"delete",
		"track",
		"query",
		"discover",
		"blocks",
	}
)

log file

Functions

This section is empty.

Types

type Logger

type Logger interface {
	Log(string, string)
	Pnc(msg string)
	Upfile(string, string)
	Downfile(string, string)
	Del(string, string)
	Track(string, string)
	Query(string, string)
	Discover(string, string)
	Block(string, 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