log

package
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2023 License: MIT Imports: 6 Imported by: 0

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

func NewService(c Config) (Service, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL