log

package
v0.0.0-...-d23ef4a Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2018 License: MIT Imports: 13 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Level

type Level uint32
const (
	PanicLevel Level = iota
	FatalLevel
	ErrorLevel
	WarnLevel
	InfoLevel
	DebugLevel
)

type Service

type Service interface {
	services.ServiceLifeCycle
	GetLogger(name string) (*logrus.Entry, error)
	WarpReader(name string, r io.Reader) error
	ListAll(page uint32, size uint32, sort string, order string) (int64, []models.Log, error)
	Clean(ids ...int64) error
	ChangeLevel(level Level) error
}

func GetInstance

func GetInstance() Service

Jump to

Keyboard shortcuts

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