genmai.go
func (db *DB) SetLogFormat(format string) error {
	return db.logger.SetFormat(format)
}
func (db *DB) SetLogFormat(format string) error {
	return db.logger.SetFormat(format)
}
// SetLogFormat sets format for logging.
//
// Format syntax uses Go's template. And you can use the following data object in that template.
//
//     - .time        time.Time object in current time.
//     - .duration    Processing time of SQL. It will format to "%.2fms".
//     - .query       string of SQL query. If it using placeholder,
//                    placeholder parameters will append to the end of query.
//
// The default format is:
//
//     [{{.time.Format "2006-01-02 15:04:05"}}] [{{.duration}}] {{.query}}