adapter

package
v0.0.86 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type GormLoggerAdapter

type GormLoggerAdapter struct {
	// contains filtered or unexported fields
}

func (*GormLoggerAdapter) Error

func (g *GormLoggerAdapter) Error(ctx context.Context, s string, i ...any)

func (*GormLoggerAdapter) Info

func (g *GormLoggerAdapter) Info(ctx context.Context, s string, i ...any)

func (*GormLoggerAdapter) LogMode

func (g *GormLoggerAdapter) LogMode(level logger.LogLevel) logger.Interface

func (*GormLoggerAdapter) Trace

func (g *GormLoggerAdapter) Trace(ctx context.Context, begin time.Time, fc func() (string, int64), err error)

func (*GormLoggerAdapter) Warn

func (g *GormLoggerAdapter) Warn(ctx context.Context, s string, i ...any)

type LogrusLogger

type LogrusLogger struct {
	// contains filtered or unexported fields
}

func (*LogrusLogger) Debug

func (z *LogrusLogger) Debug(v ...any)

func (*LogrusLogger) Debugf

func (z *LogrusLogger) Debugf(format string, v ...any)

func (*LogrusLogger) Error

func (z *LogrusLogger) Error(v ...any)

func (*LogrusLogger) Errorf

func (z *LogrusLogger) Errorf(format string, v ...any)

func (*LogrusLogger) Fatal

func (z *LogrusLogger) Fatal(v ...any)

func (*LogrusLogger) Fatalf

func (z *LogrusLogger) Fatalf(format string, v ...any)

func (*LogrusLogger) Info

func (z *LogrusLogger) Info(v ...any)

func (*LogrusLogger) Infof

func (z *LogrusLogger) Infof(format string, v ...any)

func (*LogrusLogger) Warning

func (z *LogrusLogger) Warning(v ...any)

func (*LogrusLogger) Warningf

func (z *LogrusLogger) Warningf(format string, v ...any)

Jump to

Keyboard shortcuts

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