Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options interface {
// contains filtered or unexported methods
}
Options is a function that can be applied to a Logger.
func WithStmtPrefix ¶
WithStmtPrefix set the statement prefix.
func WithTxPrefix ¶
WithTxPrefix set the transaction prefix.
func WithWarnErrSkip ¶ added in v0.2.0
func WithWarnErrSkip() Options
WithWarnErrSkip log driver.ErrSkip error as warning.
Click to show internal directories.
Click to hide internal directories.