Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Level zap.AtomicLevel
Stacktrace bool
}
type Service ¶
type Service interface {
Logger() *zap.SugaredLogger
StrictLogger() *zap.Logger
GinLogger() gin.HandlerFunc
GinRecovery() gin.HandlerFunc
GormLogger() gormlog.Interface
}
func NewService ¶
Click to show internal directories.
Click to hide internal directories.