I fear I may be overlooking something obvious.
In Rudin's "Real & Complex Analysis" chapter 3 on $L_p$-spaces, we get
3.7 Definition Let $X$ be a measure space with a positive measure $\mu$.
Suppose $g: X \to [0, \infty]$ is measurable. let $S$ be the set of all real $\alpha$ such that $$\mu(g^{-1}((\alpha, \infty])) = 0.$$ If $S = \emptyset$, put $\beta = \infty$. If $S \ne \emptyset$, put $\beta = \text{inf } S$.
...
Call $\beta$ the essential supremum of $g$.If $f$ is a complex measurable function on $X$, we define $\left\lVert f \right\rVert _{\infty}$to be the essential supremum of $\left\lvert f \right\rvert $, and we let $L^{\infty}(\mu)$ consist of all $f$ for which $\left\lVert f \right\rVert _{\infty} < \infty$.
Question: It seems to me that with this definition, the infinity norm will be $-\infty$ whenever $X$ itself has measure $0$. Other definitions that I've seen (like https://en.wikipedia.org/wiki/L-infinity) prevent this from happening. Am I failing to interpret Rudin's definition correctly?