log

package
v1.0.12 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLogrus

func NewLogrus() log.Log

Types

type Application

type Application struct {
}

func (*Application) Init

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

type Entry

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

func (*Entry) GetLevel

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

func (*Entry) GetMessage

func (r *Entry) GetMessage() string

func (*Entry) GetTime

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

type Hook

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

func (*Hook) Fire

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

func (*Hook) Levels

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

type Logrus

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

func (*Logrus) Debug

func (r *Logrus) Debug(args ...any)

func (*Logrus) Debugf

func (r *Logrus) Debugf(format string, args ...any)

func (*Logrus) Error

func (r *Logrus) Error(args ...any)

func (*Logrus) Errorf

func (r *Logrus) Errorf(format string, args ...any)

func (*Logrus) Fatal

func (r *Logrus) Fatal(args ...any)

func (*Logrus) Fatalf

func (r *Logrus) Fatalf(format string, args ...any)

func (*Logrus) Info

func (r *Logrus) Info(args ...any)

func (*Logrus) Infof

func (r *Logrus) Infof(format string, args ...any)

func (*Logrus) Panic

func (r *Logrus) Panic(args ...any)

func (*Logrus) Panicf

func (r *Logrus) Panicf(format string, args ...any)

func (*Logrus) Testing

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

func (*Logrus) Warning

func (r *Logrus) Warning(args ...any)

func (*Logrus) Warningf

func (r *Logrus) Warningf(format string, args ...any)

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