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(ctx context.Context, level pgx.LogLevel, msg string, data map[string]interface{})

Package zapadapter imports 4 packages (graph) and is imported by 4 packages. Updated 2019-09-17. Refresh now. Tools for package owners.