Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpAccessLogEntry ¶
type HttpAccessLogger ¶
type HttpAccessLogger struct {
// contains filtered or unexported fields
}
func NewHttpAccessLogger ¶
func (*HttpAccessLogger) End ¶
func (l *HttpAccessLogger) End(entry *HttpAccessLogEntry, duration time.Duration) *HttpAccessLogEntry
Called when the http request is complete
func (*HttpAccessLogger) Start ¶
func (l *HttpAccessLogger) Start(ctx *fiber.Ctx) *HttpAccessLogEntry
Starts logging a http request
type ServerLogger ¶
type ServerLogger struct {
// contains filtered or unexported fields
}
func NewServerLogger ¶
func NewServerLogger(logger *zap.Logger) *ServerLogger
Click to show internal directories.
Click to hide internal directories.