xormlog

package
v0.0.0-...-7444d27 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type XormLogger

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

XormLogger 实现xorm的Logger接口,调用自行封装的logs

func (*XormLogger) Debug

func (x *XormLogger) Debug(v ...interface{})

func (*XormLogger) Debugf

func (x *XormLogger) Debugf(format string, v ...interface{})

func (*XormLogger) Error

func (x *XormLogger) Error(v ...interface{})

func (*XormLogger) Errorf

func (x *XormLogger) Errorf(format string, v ...interface{})

func (*XormLogger) Info

func (x *XormLogger) Info(v ...interface{})

func (*XormLogger) Infof

func (x *XormLogger) Infof(format string, v ...interface{})

func (*XormLogger) IsShowSQL

func (x *XormLogger) IsShowSQL() bool

func (*XormLogger) Level

func (x *XormLogger) Level() log.LogLevel

func (*XormLogger) SetLevel

func (x *XormLogger) SetLevel(l log.LogLevel)

func (*XormLogger) ShowSQL

func (x *XormLogger) ShowSQL(show ...bool)

func (*XormLogger) Warn

func (x *XormLogger) Warn(v ...interface{})

func (*XormLogger) Warnf

func (x *XormLogger) Warnf(format string, v ...interface{})

Jump to

Keyboard shortcuts

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