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

Package logrusadapter imports 2 packages (graph) and is imported by 1 packages. Updated 2019-07-15. Refresh now. Tools for package owners.