(4) Given the function $f(x)=\left\{\begin{array}{ll}2^{2-x}, & x<2, \\ \log _{3}(x+1), & x \geqslant 2,\end{array}\right.$ if the equation $f(x)=m$ has two distinct real roots, then the range of the real number $m$ is $\qquad$ (express in interval form)
(4) $(1,+\infty)$ Hint: In the same Cartesian coordinate system, draw the graphs of the functions $y=f(x)$ and $y=m$ as shown in the figure. It is easy to see that when $m>1$, the equation $f(x)=m$ has two distinct real roots.