Code example for FileHandler

Methods: close

0
	    	 logger.log(pLevel,pTag+" - "+ pMessage);
	     }else{ 
	    	 logger.log(pLevel, pTag+" - "+ pMessage, pException);
	     } 
	     logger.removeHandler(fFileHandler);
	     fFileHandler.close();
	} 
	 
	/** 
	 * To get the file name of Today's date. 
	 * @param pCurrentTimeMillis 
	 * 			current time 
	 * @return 
	 * 			fileName 
	 */ 
	private static String getFileName(long pCurrentTimeMillis) {
		SimpleDateFormat lDateFormat = new SimpleDateFormat("MM_dd_yyyy");
        String ldate = "/BALogFiles"+"/"+lDateFormat.format(pCurrentTimeMillis);
		return ldate;
	}