We'll use Stirling's approximation in the very simple form
$$\left( \frac{n}{e} \right)^n \le n! \le \left( \frac{n+1}{e} \right)^{n+1}$$
because this reduces everything to understanding the behavior of the inverse of $f(x) = \left( \frac{x}{e} \right)^x$. Specifically this gives $f(L(n)) \le L(n)! \le n \le (L(n) + 1)! \le f(L(n) + 2)$ so $L(n) \le f^{-1}(n) \le L(n) + 2$ which gives that $L(n)$ is equal to either $\lfloor f^{-1}(n) \rfloor$ or $\lfloor f^{-1}(n) \rfloor - 1$.
$f(x)$ can be inverted as follows. Taking logarithms gives $\log f(x) = e \frac{x}{e} \log \frac{x}{e}$, which gives $W \left( \frac{\log f(x)}{e} \right) = \log \frac{x}{e}$ where $W$ is the Lambert W function. Hence
$$f^{-1}(x) = \exp \left( W \left( \frac{\log x}{e} \right) + 1 \right).$$
Now we need an identity: $We^W = x$ gives $e^W = \frac{x}{W}$. Using this above gives
$$\boxed{ f^{-1}(x) = \frac{\log x}{W \left( \frac{\log x}{e} \right)} }$$
which is more useful; now we can apply known asymptotics in the denominator, in particular getting
$$f^{-1}(x) = \frac{\log x}{\log \frac{\log x}{e} - \log \log \frac{\log x}{e} + o(1) }.$$
The Wikipedia article on the Lambert W function also mentions the identity
$$W(x) = \log \frac{x}{\log \frac{x}{\log \frac{x}{\ddots}}}$$
which follows from iterating the identity $W = \log \frac{x}{W}$.
Now let's actually test this out to see if it's any good. If we use only the first two terms of the Lambert W asymptotics we get
$$f^{-1}(10!) \approx 12.8 \dots $$
$$f^{-1}(20!) \approx 24.4 \dots $$
so it looks like we're off by a bit and need to include more terms. On the other hand, using exact values of the Lambert W function gives
$$f^{-1}(10!) = 10.9 \dots$$
$$f^{-1}(20!) = 20.8 \dots$$
which is better although we're still off by a little less than $1$.