log

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2022 License: MIT Imports: 8 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLogrus added in v1.0.0

func NewLogrus() log.Log

Types

type Application

type Application struct {
}

func (*Application) Init

func (app *Application) Init() log.Log

type Entry added in v1.0.1

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

func (*Entry) GetLevel added in v1.0.1

func (r *Entry) GetLevel() log.Level

func (*Entry) GetMessage added in v1.0.1

func (r *Entry) GetMessage() string

func (*Entry) GetTime added in v1.0.1

func (r *Entry) GetTime() time.Time

type Hook added in v1.0.0

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

func (*Hook) Fire added in v1.0.0

func (h *Hook) Fire(entry *logrus.Entry) error

func (*Hook) Levels added in v1.0.0

func (h *Hook) Levels() []logrus.Level

type Logrus added in v1.0.0

type Logrus struct {
	Instance *logrus.Logger
	Test     bool
}

func (*Logrus) Debug added in v1.0.0

func (r *Logrus) Debug(args ...interface{})

func (*Logrus) Debugf added in v1.0.0

func (r *Logrus) Debugf(format string, args ...interface{})

func (*Logrus) Error added in v1.0.0

func (r *Logrus) Error(args ...interface{})

func (*Logrus) Errorf added in v1.0.0

func (r *Logrus) Errorf(format string, args ...interface{})

func (*Logrus) Fatal added in v1.0.0

func (r *Logrus) Fatal(args ...interface{})

func (*Logrus) Fatalf added in v1.0.0

func (r *Logrus) Fatalf(format string, args ...interface{})

func (*Logrus) Info added in v1.0.0

func (r *Logrus) Info(args ...interface{})

func (*Logrus) Infof added in v1.0.0

func (r *Logrus) Infof(format string, args ...interface{})

func (*Logrus) Panic added in v1.0.0

func (r *Logrus) Panic(args ...interface{})

func (*Logrus) Panicf added in v1.0.0

func (r *Logrus) Panicf(format string, args ...interface{})

func (*Logrus) Testing added in v1.0.0

func (r *Logrus) Testing(is bool) log.Log

func (*Logrus) Warning added in v1.0.0

func (r *Logrus) Warning(args ...interface{})

func (*Logrus) Warningf added in v1.0.0

func (r *Logrus) Warningf(format string, args ...interface{})

type ServiceProvider

type ServiceProvider struct {
}

func (*ServiceProvider) Boot

func (log *ServiceProvider) Boot()

func (*ServiceProvider) Register

func (log *ServiceProvider) Register()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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