Logarithmic potential beta-ensembles and Feynman graphs