@Override public double transform(double value){
  if (value <= 0.0d) {
    throw new IllegalArgumentException("Cannot apply log scaling to a value less than or equal to zero.");
  }
  return Math.log10(value);
}

@ Override public double transform ( double value ) { if ( value <= 0.0d ) { throw new IllegalArgumentException ( "Cannot apply log scaling to a value less than or equal to zero." ) ; } return Math . log10 ( value ) ; }
transforms the given value by applying a log function .
