Documentation ¶
Index ¶
- func NewLogrus(logger *logrus.Logger, writer log2.Writer) log2.Log
- func NewWriter(instance *logrus.Entry) log2.Writer
- type Application
- type Entry
- type Hook
- type Logrus
- type ServiceProvider
- type Writer
- func (r *Writer) Debug(args ...interface{})
- func (r *Writer) Debugf(format string, args ...interface{})
- func (r *Writer) Error(args ...interface{})
- func (r *Writer) Errorf(format string, args ...interface{})
- func (r *Writer) Fatal(args ...interface{})
- func (r *Writer) Fatalf(format string, args ...interface{})
- func (r *Writer) Info(args ...interface{})
- func (r *Writer) Infof(format string, args ...interface{})
- func (r *Writer) Panic(args ...interface{})
- func (r *Writer) Panicf(format string, args ...interface{})
- func (r *Writer) Warning(args ...interface{})
- func (r *Writer) Warningf(format string, args ...interface{})
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.