logger

package
v0.7.16 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 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",
	"del",
	"discover",
}

Functions

This section is empty.

Types

type Lg

type Lg struct {
	// contains filtered or unexported fields
}

func NewLogs

func NewLogs(logfiles map[string]string) (*Lg, error)

func (*Lg) Del

func (l *Lg) Del(level string, msg string)

func (*Lg) Discover

func (l *Lg) Discover(level, msg string)

func (*Lg) Ichal

func (l *Lg) Ichal(level string, msg string)

func (*Lg) Log

func (l *Lg) Log(level string, msg string)

func (*Lg) Pnc

func (l *Lg) Pnc(msg string)

func (*Lg) Replace

func (l *Lg) Replace(level string, msg string)

func (*Lg) Report

func (l *Lg) Report(level string, msg string)

func (*Lg) Restore

func (l *Lg) Restore(level string, msg string)

func (*Lg) Schal

func (l *Lg) Schal(level string, msg string)

func (*Lg) Space

func (l *Lg) Space(level string, msg string)

func (*Lg) Stag

func (l *Lg) Stag(level string, msg string)

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)
	Del(level string, msg string)
	Discover(level, msg string)
}

Jump to

Keyboard shortcuts

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