public void error(Object m, Throwable t) {
    logger.error(String.valueOf(m), t);
  }
public void error(Object m, Throwable t) {
    logger.error(String.valueOf(m), t);
  }
public void error ( Object m , Throwable t ) { logger . error ( String . valueOf ( m ) , t ) ; }
prints an error message
@param m a log message
@param t a throwable error
prints an error message