`log()`

Gets the logarithm of any number in the specified base. NOTE: this function works best for values that don't rely on a base of `Math.E`

. If you want to find natural log it would be best to simply use `Math.log()`

.

{*number*}
**x**

The number for which the logarithm will be calculated.

{*number*}
**base**

The base of the calculated logarithm.

{*number*}

The logarithm of

`x`

for the specified `base`

.