Documentation ¶
Index ¶
- func NewSQLXContextExecLogger(execer sqlx.ExecerContext, entry *logrus.Entry) sqlx.ExecerContext
- func NewSQLXContextQueryLogger(queryer sqlx.QueryerContext, entry *logrus.Entry) sqlx.QueryerContext
- func NewSQLXExecLogger(execer sqlx.Execer, entry *logrus.Entry) sqlx.Execer
- func NewSQLXExtContextLogger(ext sqlx.ExtContext, entry *logrus.Entry) sqlx.ExtContext
- func NewSQLXExtLogger(ext sqlx.Ext, entry *logrus.Entry) sqlx.Ext
- func NewSQLXQueryLogger(queryer sqlx.Queryer, entry *logrus.Entry) sqlx.Queryer
- type SQLXPreparer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSQLXContextExecLogger ¶
func NewSQLXContextExecLogger(execer sqlx.ExecerContext, entry *logrus.Entry) sqlx.ExecerContext
func NewSQLXContextQueryLogger ¶
func NewSQLXContextQueryLogger(queryer sqlx.QueryerContext, entry *logrus.Entry) sqlx.QueryerContext
func NewSQLXExecLogger ¶
func NewSQLXExtContextLogger ¶
func NewSQLXExtContextLogger(ext sqlx.ExtContext, entry *logrus.Entry) sqlx.ExtContext
Types ¶
type SQLXPreparer ¶
type SQLXPreparer interface { PrepareNamed(query string) (*sqlx.NamedStmt, error) Preparex(query string) (*sqlx.Stmt, error) }
func NewSQLXPreparerLogger ¶
func NewSQLXPreparerLogger(preparer SQLXPreparer, entry *logrus.Entry) SQLXPreparer
Click to show internal directories.
Click to hide internal directories.