$$\large \underline{\texttt{Analytic Proof}}$$
Observe that $\log{x}$ is increasing.$(1)$
Observe that
$$\int\limits_{1}^{n}{\log x\, dx}=\int\limits_{1}^{2}{\log x \, dx}+\int\limits_{2}^{3}{\log x\, dx}+\cdots +\int\limits_{n-1}^{n}{\log x\, dx} \tag{2}$$
For an integrable function $f$, if $f(x)\le M \quad \forall x\in [a,b]$ then $$\int\limits_{a}^{b}{f(x) dx} \le M(b-a) \tag 3$$
Observe with the help of $(1)$ and $(3)$ that
$$\int\limits_{m-1}^{m}{\log x\, dx}\le \log{m} \tag{4}$$
Using $(2)$ and $(4)$ see that
$$\int\limits_{1}^{n}{\log x\, dx}\le \log 2+\log 3 +\cdots +\log n=\sum\limits_{m=1}^{n}\log m $$
$$\large \underline{\texttt{Geometric Proof}}$$
Recall that $\int\limits_{a}^{b}{f(x)}$ is defined as the area under the curve $f(x)$, now have a look at the graph below.
Compare the area between $\log x$ and $x$ axis with the area of green region and $x$ axis to get a result. $(1)$ plays a role in our assumption about areas.
You can also see here for a graph.
$$\large \underline{\texttt{Conditions}}$$
If $f(x)$ is $\color{blue}{\text{increasing}}$ then the following is true
$$\int\limits_1^n f(x) \ \mathrm{dx} \leq \sum\limits_{m = \color{red}{2}}^n f(m)$$
(The proof of this result is similar to the analytic proof we have done.)
Note:
- $\log 1=0$, so that we can replace $\sum\limits_{m = \color{red}{2}}^n \log m$ by $\sum\limits_{m = \color{red}{1}}^n \log m$
- If $f(1)>0$ clearly $\int\limits_1^n f(x) \ \mathrm{dx} \leq \sum\limits_{m = \color{red}{2}}^n f(m) \le \sum\limits_{m = \color{red}{1}}^n f(m)$
- You might be interested in the reading about integral test.