plugins

package
v2.0.16 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2022 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type XOrm

type XOrm struct{}

func NewXOrm

func NewXOrm() *XOrm

func (*XOrm) AfterSQL

func (o *XOrm) AfterSQL(c xormLog.LogContext)

Send SQL to logger.

func (*XOrm) BeforeSQL

func (o *XOrm) BeforeSQL(c xormLog.LogContext)

func (*XOrm) Debugf

func (o *XOrm) Debugf(format string, v ...interface{})

func (*XOrm) Errorf

func (o *XOrm) Errorf(format string, v ...interface{})

func (*XOrm) Infof

func (o *XOrm) Infof(format string, v ...interface{})

func (*XOrm) IsShowSQL

func (o *XOrm) IsShowSQL() bool

func (*XOrm) Level

func (o *XOrm) Level() xormLog.LogLevel

func (*XOrm) SetLevel

func (o *XOrm) SetLevel(l xormLog.LogLevel)

func (*XOrm) ShowSQL

func (o *XOrm) ShowSQL(show ...bool)

func (*XOrm) Warnf

func (o *XOrm) Warnf(format string, v ...interface{})

Jump to

Keyboard shortcuts

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