Back to

Package gormzap

Latest Go to latest

The highest tagged major version is .

Published: Sep 7, 2020 | License: MIT | Module:


type Logger

type Logger struct {
	// contains filtered or unexported fields

Logger is an alternative implementation of *gorm.Logger

func New

func New(zap *zap.Logger) *Logger

New create logger object for *gorm.DB from *zap.Logger

func (*Logger) Print

func (l *Logger) Print(values ...interface{})

Print passes arguments to Println

func (*Logger) Println

func (l *Logger) Println(values []interface{})

Println format & print log

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier