Documentation ¶
Index ¶
- func NewApplication(writer log.Writer) log.Log
- func NewLogrusApplication() log.Log
- func NewTestWriter() log.Writer
- func NewWriter(instance *logrus.Entry) log.Writer
- type Entry
- type Hook
- type Logrus
- type ServiceProvider
- type TestWriter
- func (r *TestWriter) Debug(args ...any)
- func (r *TestWriter) Debugf(format string, args ...any)
- func (r *TestWriter) Error(args ...any)
- func (r *TestWriter) Errorf(format string, args ...any)
- func (r *TestWriter) Fatal(args ...any)
- func (r *TestWriter) Fatalf(format string, args ...any)
- func (r *TestWriter) Info(args ...any)
- func (r *TestWriter) Infof(format string, args ...any)
- func (r *TestWriter) Panic(args ...any)
- func (r *TestWriter) Panicf(format string, args ...any)
- func (r *TestWriter) Warning(args ...any)
- func (r *TestWriter) Warningf(format string, args ...any)
- 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 ¶
func NewLogrusApplication ¶ added in v1.8.1
func NewTestWriter ¶ added in v1.2.3
Types ¶
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 Message()
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 ...any)
func (*TestWriter) Debugf ¶ added in v1.2.3
func (r *TestWriter) Debugf(format string, args ...any)
func (*TestWriter) Error ¶ added in v1.2.3
func (r *TestWriter) Error(args ...any)
func (*TestWriter) Errorf ¶ added in v1.2.3
func (r *TestWriter) Errorf(format string, args ...any)
func (*TestWriter) Fatal ¶ added in v1.2.3
func (r *TestWriter) Fatal(args ...any)
func (*TestWriter) Fatalf ¶ added in v1.2.3
func (r *TestWriter) Fatalf(format string, args ...any)
func (*TestWriter) Info ¶ added in v1.2.3
func (r *TestWriter) Info(args ...any)
func (*TestWriter) Infof ¶ added in v1.2.3
func (r *TestWriter) Infof(format string, args ...any)
func (*TestWriter) Panic ¶ added in v1.2.3
func (r *TestWriter) Panic(args ...any)
func (*TestWriter) Panicf ¶ added in v1.2.3
func (r *TestWriter) Panicf(format string, args ...any)
func (*TestWriter) Warning ¶ added in v1.2.3
func (r *TestWriter) Warning(args ...any)
func (*TestWriter) Warningf ¶ added in v1.2.3
func (r *TestWriter) Warningf(format string, args ...any)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.