pgx: Index | Files

package logrusadapter

import ""

Package logrusadapter provides a logger that writes to a log.


Package Files


type Logger Uses

type Logger struct {
    // contains filtered or unexported fields

func NewLogger Uses

func NewLogger(l logrus.FieldLogger) *Logger

func (*Logger) Log Uses

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

Package logrusadapter imports 3 packages (graph) and is imported by 2 packages. Updated 2019-09-16. Refresh now. Tools for package owners.