Turning a function into distrubution for turing

I have a target function that I want to transform into distribution in order to use Turing, let’s suppose that the target function is written on this form:

logtarget(x::Vector)= log(prod(x))^2

how can I turn it into distribution, knowing that I have a customized distribution to propose the values of the vector x.