config

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: MIT Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDefaultGormLogger

func NewDefaultGormLogger(cfg GormLogConfigI) gormLogger.Interface

func NewDefaultZeroLogger added in v1.2.0

func NewDefaultZeroLogger(cfg GormLogConfigI) gormLogger.Interface

func OverwriteGormLogMode

func OverwriteGormLogMode(mode string) gormLogger.LogLevel

Types

type GormLogConfigI

type GormLogConfigI interface {
	GetGormLogMode() gormLogger.LogLevel
	GetSlowThreshold() time.Duration
	GetColorful() bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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