Function log can now take a base value.