logger

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	LogFiles = []string{
		"log",
		"panic",
		"put",
		"get",
		"download",
		"open",
		"delete",
		"track",
		"part",
		"full",
		"range",
	}
)

log file

Functions

This section is empty.

Types

type Logger

type Logger interface {
	Log(string, string)
	Pnc(msg string)
	Logput(string, string)
	Logget(string, string)
	Logdown(string, string)
	Logopen(string, string)
	Logdel(string, string)
	Logtrack(string, string)
	Logpart(string, string)
	Logfull(string, string)
	Logrange(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