This function returns y = log(10) (the natural logarithm of u), with u > 0:
function log extends Modelica.Math.Icons.AxisLeft; input Real u; output Real y; end log;