Here's one way to interpret the question-- we want to find the constant term in the expansion of a certain function $f(z)$ at $z = \pm \infty$.
One way we can do this is to write $f(z)$ as a power series
$$f(z) = \sum_{n=1}^\infty a_n (-x)^n$$
Then, subject to growth conditions, we can write $f(z)$ as the contour integral
$$f(z) = \int_C \frac{\csc(\pi n)}{2i} a_n x^n dn$$
Switching the direction of this contour and assuming that $a_n$ has no poles gives the sum
$$- \sum_{n=0}^\infty a_{-n} (-x)^{-n}$$
Which, as $x \to \infty$ is just $-a_0$. Therefore, we just need to study the pole at $a_0$. Let's consider the example of $\ln \Gamma$. $\ln \Gamma$ has a well known Taylor series of $a_n = \frac{\zeta(k)}{k}$. We have $2 \pi i \text{Res}_{z=0}\left( \frac{\zeta(z)}{z} \frac{\csc(\pi z)}{2 i}\right) = -\frac{\ln(2 \pi)}{2} - \frac{\ln(x)}{2}$. The negative of the constant part of this is $ \frac{\ln(2 \pi)}{2}$. This same result can be obtained by directly looking at the expansion of the log gamma function at $\infty$
$$\ln \Gamma (z) = z\ln z - z - \frac{1}{2} \ln (z) + \frac{1}{2} \ln(2 \pi) + O\left(\frac{1}{z}\right)$$
If we instead looked at the sum
$$-\gamma x + \sum_{n=2}^\infty \zeta(k) (-x)^k$$
We would obtain that $a_0 = -\zeta(0) = \frac{1}{2}$. This result is alternatively easily obtained by looking at the constant term in the expansion of $-x\frac{d}{dx} \ln \Gamma (x)$.
There are a number of results that this method can obtain with this method. For instance, it gives us that the constant term
$$\sum_{n=1}^\infty \frac{1}{n^2} \frac{(-x)^n }{n!} \cong -\frac{1}{2}\left(\gamma^2+ \zeta(2)\right)$$
More specifically, it tells us that
$$\lim_{x \to \infty} \sum_{n=1}^\infty \frac{1}{n^2} \frac{(-x)^n }{n!} + \gamma \ln(x) + \frac{1}{2} \ln(x)^2 = -\frac{1}{2}\left(\gamma^2+ \zeta(2)\right)$$
Alternatively, we have the sum
$$\sum_{n=2}^\infty \frac{\zeta(n)}{n^2}(-x)^n \cong \frac{5 \pi^2}{48} + \ln(\sqrt{2 \pi})^2-\frac{\gamma^2}{4} - \frac{\gamma_1}{2} $$
And by looking closely at the residues we could find exactly the needed terms to subtract to write that congruence between the constant terms as a limit.