pgx: Index | Files

package zapadapter

import ""

Package zapadapter provides a logger that writes to a


Package Files


type Logger Uses

type Logger struct {
    // contains filtered or unexported fields

func NewLogger Uses

func NewLogger(logger *zap.Logger) *Logger

func (*Logger) Log Uses

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

Package zapadapter imports 3 packages (graph) and is imported by 1 packages. Updated 2019-07-24. Refresh now. Tools for package owners.