gormwrapper

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(sugarLogger *zap.SugaredLogger, config Config) gormlogger.Interface

Types

type Config

type Config struct {
	SlowThreshold time.Duration
	LogLevel      gormlogger.LogLevel
}

Jump to

Keyboard shortcuts

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