For a finite set of postitive real numbers $\{g_i\}$, it's clear that $$ \lim_{\lambda->\infty} \frac{1}{\lambda} \ln\left(\sum_i e^{\lambda g_i} \right) = \max \{g_i\}, $$ since the argument of the logarithm becomes dominated by the largest of the $e^{\lambda g_i}$ terms. In the case where there are $n$ $g_i$'s that all share the same maximum value, the limit becomes $\frac{1}{\lambda}(\ln e^{\lambda g_\text{max}} + \ln n)$, and the $\ln n$ term vanishes.
Intuitively, this should generalise to the case where the sum becomes an integral, yielding $$ \lim_{\lambda->\infty} \frac{1}{\lambda} \ln\left(\int_{0}^{\infty} e^{\lambda f(x)}dx \right) = \max_x f(x), $$ where $f(x) \ge 0$ for all $x\ge 0$.
However, I don't know how to show this formally, and I'm uncertain what properties $f(x)$ must have in order for this limit to hold. For example, does it still work if the second derivative vanishes at the maximum point?
If anyone has any insight into how to prove this formula, and how to determine the class of functions for which it holds, it would be much appreciated.