pgx

package module
v2.0.0-...-341fd6f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger struct{}

Logger convert pgx logLevel to tel flow Please be advised that pgx.Info level transpile to Debug level, as we believe that that's debug info ;)

func NewLogger

func NewLogger() *Logger

func (*Logger) Log

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL