Documentation ¶
Index ¶
- func NewLogrus(logger *logrus.Logger, writer log.Writer) log.Log
- func NewTestWriter() log.Writer
- func NewWriter(instance *logrus.Entry) log.Writer
- type Application
- type Entry
- type Hook
- type Logrus
- type ServiceProvider
- type TestWriter
- func (r *TestWriter) Debug(args ...interface{})
- func (r *TestWriter) Debugf(format string, args ...interface{})
- func (r *TestWriter) Error(args ...interface{})
- func (r *TestWriter) Errorf(format string, args ...interface{})
- func (r *TestWriter) Fatal(args ...interface{})
- func (r *TestWriter) Fatalf(format string, args ...interface{})
- func (r *TestWriter) Info(args ...interface{})
- func (r *TestWriter) Infof(format string, args ...interface{})
- func (r *TestWriter) Panic(args ...interface{})
- func (r *TestWriter) Panicf(format string, args ...interface{})
- func (r *TestWriter) Warning(args ...interface{})
- func (r *TestWriter) Warningf(format string, args ...interface{})
- 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 ¶
func NewTestWriter ¶ added in v1.2.3
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) GetMessage ¶ added in v1.0.1
DEPRECATED: use Level()
type ServiceProvider ¶
type ServiceProvider struct { }
func (*ServiceProvider) Boot ¶
func (log *ServiceProvider) Boot()
func (*ServiceProvider) Register ¶
func (log *ServiceProvider) Register()
type TestWriter ¶ added in v1.2.3
type TestWriter struct { }
func (*TestWriter) Debug ¶ added in v1.2.3
func (r *TestWriter) Debug(args ...interface{})
func (*TestWriter) Debugf ¶ added in v1.2.3
func (r *TestWriter) Debugf(format string, args ...interface{})
func (*TestWriter) Error ¶ added in v1.2.3
func (r *TestWriter) Error(args ...interface{})
func (*TestWriter) Errorf ¶ added in v1.2.3
func (r *TestWriter) Errorf(format string, args ...interface{})
func (*TestWriter) Fatal ¶ added in v1.2.3
func (r *TestWriter) Fatal(args ...interface{})
func (*TestWriter) Fatalf ¶ added in v1.2.3
func (r *TestWriter) Fatalf(format string, args ...interface{})
func (*TestWriter) Info ¶ added in v1.2.3
func (r *TestWriter) Info(args ...interface{})
func (*TestWriter) Infof ¶ added in v1.2.3
func (r *TestWriter) Infof(format string, args ...interface{})
func (*TestWriter) Panic ¶ added in v1.2.3
func (r *TestWriter) Panic(args ...interface{})
func (*TestWriter) Panicf ¶ added in v1.2.3
func (r *TestWriter) Panicf(format string, args ...interface{})
func (*TestWriter) Warning ¶ added in v1.2.3
func (r *TestWriter) Warning(args ...interface{})
func (*TestWriter) Warningf ¶ added in v1.2.3
func (r *TestWriter) Warningf(format string, args ...interface{})
Source Files ¶
Click to show internal directories.
Click to hide internal directories.