title: print data in hashmap in a tabular format in log file
body: <p>Hi here i want to print the data of hashmap in the tabular format.Below is my code to insert the data in hashmap.</p>
  
  <pre><code> String foldername = item.getParent().substring(item.getParent().lastIndexOf("/") + 1);
                          statusname = foldername + "\t" + _DeployResult.ServerIP + "\t" + _DeployResult.ServerType;
                          if (!Prdeploy.statusmap.containsKey(statusname)) {
                              Prdeploy.statusmap.put(statusname, 0);
                          }
  </code></pre>
  
  <p>and below is code which is written to print the data in the log file:</p>
  
  <pre><code> logger.info("****************Summary Report****************");
                     logger.info("Folder\tServer\tType\tFailed");
  
          for (String name: statusmap.keySet()){
  
              String key =name.toString();
              String value = statusmap.get(name).toString();  
  
              System.out.println(key + "  " + value);  
              logger.info(key + "\t" + value);
  } 
          logger.info("**********************************************");
  </code></pre>
  
  <p>here i am getting the output of above as below:</p>
  
  <pre><code>****************Summary Report****************
  Folder  Server  Type    Failed
  180_Perl_Scripts            10.5.50.195 SS  0
  050_Images              10.5.50.195 SS  0
  020_XSL             10.5.50.195 SS  0
  srf             10.5.50.195 SS  0
  030_XSLT            10.5.50.195 SS  0
  bscript 10.5.50.195 SS  0
  bscript 10.5.50.195 WS  1
  010_StyleSheets             10.5.50.195 SS  0
  040_WebTemplates            10.5.50.195 SS  0
  050_Images              10.5.50.195 WS  0
  060_js_Files            10.5.50.195 SS  0
  010_StyleSheets             10.5.50.195 WS  0
  **********************************************
  </code></pre>
  
  <p>but i want my output as below:</p>
  
  <pre><code>    ****************Summary Report****************
  Folder                  Server          Type    Failed
  180_Perl_Scripts            10.5.50.195 SS  0
  050_Images              10.5.50.195 SS  0
  020_XSL                     10.5.50.195 SS  0
  srf                     10.5.50.195 SS  0
  030_XSLT                    10.5.50.195 SS  0
  bscript                 10.5.50.195 SS  0
  bscript                 10.5.50.195 WS  1
  010_StyleSheets             10.5.50.195 SS  0
  040_WebTemplates            10.5.50.195 SS  0
  050_Images              10.5.50.195 WS  0
  060_js_Files            10.5.50.195 SS  0
  010_StyleSheets             10.5.50.195 WS  0
  **********************************************
  </code></pre>
  
  <p>Here i am not able to put the exact pattern.But just i want it into tabular format.Well structired.
  Is there way to do this? Please help me here!</p>