protected void log(Level level,String methodName,String message){
  Object[] args={methodName,message};
  logger.log(level,MessageFormat.format(logEntryTemplate,args));
}

protected void log ( Level level , String methodName , String message ) { Object [ ] args = { methodName , message } ; logger . log ( level , MessageFormat . format ( logEntryTemplate , args ) ) ; }
writes a log entry .
