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 ¶ added in v1.10.2
func NewApplication ¶
func NewApplication(writer log.Writer) *Application
func NewLogrusApplication ¶
func NewLogrusApplication(config config.Config) *Application
func (*Application) WithContext ¶ added in v1.10.2
func (r *Application) WithContext(ctx context.Context) log.Writer
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.