private void printZoneData() { log.info("------------------------- FIRE ZONE DATA ----------------------------------"); for (Iterator<Pair<ArrayList<SOSRealFireZone>, SOSEstimatedFireZone>> it = getFireSites().iterator(); it.hasNext(); ) { Pair<ArrayList<SOSRealFireZone>, SOSEstimatedFireZone> p = it.next(); String r = ""; for (SOSRealFireZone sor : p.first()) r += " allBuilding=" + sor.allBuilding.size(); log.info("Real " + p.first() + " " + r); log.info( "Estimate " + p.second() + " " + " allbuilding=" + p.second().allBuilding.size() + " "); log.log("-------------------------------------------\n"); } log.info( "------------------------- FIRE ZONE DATA FINISH ----------------------------------"); }
public static void print(String s) { if (SOSConstant.NO_ANY_LOG) System.out.print(s); sosLogger.log(s); }