Documentation ¶
Index ¶
- func NewLogrus(logger *logrus.Logger, writer log.Writer) log.Log
- func NewWriter(instance *logrus.Entry) log.Writer
- type Application
- type Entry
- type Hook
- type Logrus
- type ServiceProvider
- type Writer
- func (r *Writer) Debug(args ...any)
- func (r *Writer) Debugf(format string, args ...any)
- func (r *Writer) Error(args ...any)
- func (r *Writer) Errorf(format string, args ...any)
- func (r *Writer) Fatal(args ...any)
- func (r *Writer) Fatalf(format string, args ...any)
- func (r *Writer) Info(args ...any)
- func (r *Writer) Infof(format string, args ...any)
- func (r *Writer) Panic(args ...any)
- func (r *Writer) Panicf(format string, args ...any)
- func (r *Writer) Warning(args ...any)
- func (r *Writer) Warningf(format string, args ...any)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Application ¶
type Application struct { }
func (*Application) Init ¶
func (app *Application) Init() log.Log
type ServiceProvider ¶
type ServiceProvider struct { }
func (*ServiceProvider) Boot ¶
func (log *ServiceProvider) Boot()
func (*ServiceProvider) Register ¶
func (log *ServiceProvider) Register()
Click to show internal directories.
Click to hide internal directories.