logz

package
v0.0.0-...-d72dd33 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoZeroContextLogger

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

func NewGoZeroContextLogger

func NewGoZeroContextLogger() *GoZeroContextLogger

func (*GoZeroContextLogger) AfterSQL

func (z *GoZeroContextLogger) AfterSQL(ctx log.LogContext)

func (*GoZeroContextLogger) BeforeSQL

func (z *GoZeroContextLogger) BeforeSQL(ctx log.LogContext)

func (*GoZeroContextLogger) Debugf

func (z *GoZeroContextLogger) Debugf(format string, v ...interface{})

func (*GoZeroContextLogger) Errorf

func (z *GoZeroContextLogger) Errorf(format string, v ...interface{})

func (*GoZeroContextLogger) Infof

func (z *GoZeroContextLogger) Infof(format string, v ...interface{})

func (*GoZeroContextLogger) IsShowSQL

func (z *GoZeroContextLogger) IsShowSQL() bool

func (*GoZeroContextLogger) Level

func (z *GoZeroContextLogger) Level() log.LogLevel

func (*GoZeroContextLogger) SetLevel

func (z *GoZeroContextLogger) SetLevel(l log.LogLevel)

func (*GoZeroContextLogger) ShowSQL

func (z *GoZeroContextLogger) ShowSQL(show ...bool)

func (*GoZeroContextLogger) Warnf

func (z *GoZeroContextLogger) Warnf(format string, v ...interface{})

Jump to

Keyboard shortcuts

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