Documentation ¶
Index ¶
- Constants
- func NewWriter(instance *logrus.Entry) log.Writer
- type Application
- type Entry
- type Hook
- 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 ¶
View Source
const Binding = "goravel.log"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Application ¶
func NewApplication ¶ added in v1.8.1
func NewApplication(writer log.Writer) *Application
func NewLogrusApplication ¶ added in v1.8.1
func NewLogrusApplication(config config.Config) *Application
func (*Application) WithContext ¶ added in v1.12.0
func (r *Application) WithContext(ctx context.Context) log.Writer
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(app foundation.Application)
func (*ServiceProvider) Register ¶
func (log *ServiceProvider) Register(app foundation.Application)
Click to show internal directories.
Click to hide internal directories.