Back to

Package zapadapter

Latest Go to latest

The latest major version is .

Published: Jan 24, 2020 | License: MIT | Module:


Package zapadapter provides a logger that writes to a


type Logger

type Logger struct {
	// contains filtered or unexported fields

func NewLogger

func NewLogger(logger *zap.Logger) *Logger

func (*Logger) Log

func (pl *Logger) Log(level pgx.LogLevel, msg string, data map[string]interface{})

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