inverted partition function

Thermodynamical potentials in statistical mechanics are logarithms of integrals over exponentials. Could they as well be exponentials of integrals of logarithms?