zapx: Index | Files

package zpgx

import ""

Package zpgx provides zap extensions for `jackc/pgx` (

TODO: examples


Package Files

doc.go pgx.go

func NewLogger Uses

func NewLogger(l *zap.Logger, opts Options) pgx.Logger

NewLogger wraps the given logger in pgx.Logger

type Options Uses

type Options struct {
    LogInfoAsDebug bool

Options denotes configuration for the pgx database logger

Package zpgx imports 2 packages (graph) and is imported by 1 packages. Updated 2019-08-24. Refresh now. Tools for package owners.