preinit

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomCtxLogger

type CustomCtxLogger struct {
	Ctx *trace.Context
	// contains filtered or unexported fields
}

func (*CustomCtxLogger) AfterSQL

func (l *CustomCtxLogger) AfterSQL(ctx xormLog.LogContext)

AfterSQL implements ContextLogger

func (*CustomCtxLogger) BeforeSQL

func (l *CustomCtxLogger) BeforeSQL(ctx xormLog.LogContext)

BeforeSQL implements ContextLogger

func (*CustomCtxLogger) Debugf

func (l *CustomCtxLogger) Debugf(format string, v ...interface{})

func (*CustomCtxLogger) Errorf

func (l *CustomCtxLogger) Errorf(format string, v ...interface{})

func (*CustomCtxLogger) Infof

func (l *CustomCtxLogger) Infof(format string, v ...interface{})

func (*CustomCtxLogger) IsShowSQL

func (l *CustomCtxLogger) IsShowSQL() bool

func (*CustomCtxLogger) Level

func (l *CustomCtxLogger) Level() xormLog.LogLevel

func (*CustomCtxLogger) SetLevel

func (l *CustomCtxLogger) SetLevel(c xormLog.LogLevel)

func (*CustomCtxLogger) ShowSQL

func (l *CustomCtxLogger) ShowSQL(show ...bool)

func (*CustomCtxLogger) Warnf

func (l *CustomCtxLogger) Warnf(format string, v ...interface{})

Jump to

Keyboard shortcuts

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