I've recently been reading Serge Lang's Math Talks for Undergraduates, specifically a section about the abc conjecture. Lang starts by stating and proving the Mason-Stothers Theorem:
Let $f,g \in \mathbf{C}[t]$ be nonconstant and relatively prime. Then $ \text{deg}(f+g) \leq n_0[fg(f+g)]-1$, where $n_0$ gives the number of distinct roots of a polynomial.
Lang then translates the Mason-Stothers theorem into a theorem about the integers. In doing so, he states "Experience shows that the analogue of the degree is the logarithm of the absolute value of the integer." Why is this so? For an integer $a$ and a polynomial $f$, how is $\log(|a|)$ analogous to $\text{deg}(f)$?
There is a certain analogy between the ring of polynomials over a field, $k[x]$ and the ring of integers, $\mathbb{Z}$. Note that both are Euclidean domains.
Now, for a finite field, $k=\mathbb{F}_q$, with $q$ elements and a polynomial $f\in k[x]$ of degree $d$, the number of elements in the quotient is $q^d$: $$ | k[x] / f\cdot k[x] | = q^d. $$ In other words, $d = \log_q |k[x]/f\cdot k[x]|$.
How about the cardinality of a quotient of $\mathbb{Z}$? If $a\in\mathbb{Z}$ is an integer, then we have $$ | \mathbb{Z}/a\cdot \mathbb{Z}| = |a|. $$ Hence, $\log |a|$ is supposed to be the integer analogue of the degree of a polynomial.
Indeed, there are many theorems where this analogy turns out to be quite useful. You might like the wonderful book "Number Theory in Function Fields" by Rosen which contains many examples of this phenomenon.