Source TeX:
\log_b x=\dfrac{\log x}{\log b}