ecsgorm

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2021 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 EcsGormLogger

type EcsGormLogger struct {
	Logger *logrus.Logger
}

func NewEcsGormLogger

func NewEcsGormLogger(logger ...*logrus.Logger) *EcsGormLogger

func (EcsGormLogger) Error

func (l EcsGormLogger) Error(ctx context.Context, msg string, data ...interface{})

func (EcsGormLogger) Info

func (l EcsGormLogger) Info(ctx context.Context, msg string, data ...interface{})

func (*EcsGormLogger) LogMode

func (l *EcsGormLogger) LogMode(level logger.LogLevel) logger.Interface

func (EcsGormLogger) Trace

func (l EcsGormLogger) Trace(ctx context.Context, begin time.Time, fc func() (sql string, rowsAffected int64), err error)

func (EcsGormLogger) Warn

func (l EcsGormLogger) Warn(ctx context.Context, msg string, data ...interface{})

Jump to

Keyboard shortcuts

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