Calculate a logarithm using any base you like, whether it be base10, e or any other base.