@@ -0,0 +1,2453 @@
+package utility;%0A%0Aimport java.text.SimpleDateFormat;%0Aimport java.util.Calendar;%0A%0Aimport org.apache.log4j.Logger;%0A%0A%09public class Log %7B%0A%0A%09%09//Initialize Log4j logs%0A%09%09private static Logger Log = Logger.getLogger(Log.class.getName());// %0A%0A%09// This is to print log for the beginning of the test case, as we usually run so many test cases as a test suite%0A%09public static void startTestCase(String sTestCaseName)%7B%0A%0A%09   Log.info(%22****************************************************************************************%22);%0A%09   Log.info(%22****************************************************************************************%22);%0A%09   Log.info(%22$$$$$$$$$$$$$$$$$$$$$                 %22+sTestCaseName+ %22       $$$$$$$$$$$$$$$$$$$$$$$$$%22);%0A%09   Log.info(%22****************************************************************************************%22);%0A%09   Log.info(%22****************************************************************************************%22);%0A%0A%09   %7D%0A%0A%09//This is to print log for the ending of the test case, before sTestCaseName%0A%09public static void endTestCase()%7B%0A%09   Log.info(%22XXXXXXXXXXXXXXXXXXXXXXX             %22+%22-E---N---D-%22+%22             XXXXXXXXXXXXXXXXXXXXXX%22);%0A%09   Log.info(%22X%22);%0A%09   Log.info(%22X%22);%0A%09   Log.info(%22X%22);%0A%09   Log.info(%22X%22);%0A%0A%09   %7D%0A%0A    // Need to create these methods, so that they can be called  %0A%09public static void info(String message) %7B%0A%09%09   Log.info(message);%0A%09%09   System.out.println(new SimpleDateFormat(%22yyyy-MM-dd HH:mm:ss,SSS%22).format(Calendar.getInstance().getTime()).toString() + %22 INFO %5BlOG%5D %22 + message);%0A%09%09   %7D%0A%0A%09public static void warn(String message) %7B%0A%09   Log.warn(message);%0A%09   System.out.println(new SimpleDateFormat(%22yyyy-MM-dd HH:mm:ss,SSS%22).format(Calendar.getInstance().getTime()).toString() + %22 WARN %5BlOG%5D %22 + message);%0A%09   %7D%0A%0A%09public static void error(String message) %7B%0A%09   Log.error(message);%0A%09   System.out.println(new SimpleDateFormat(%22yyyy-MM-dd HH:mm:ss,SSS%22).format(Calendar.getInstance().getTime()).toString() + %22 ERROR %5BlOG%5D %22 + message);%0A%09   %7D%0A%0A%09public static void fatal(String message) %7B%0A%09   Log.fatal(message);%0A%09   System.out.println(new SimpleDateFormat(%22yyyy-MM-dd HH:mm:ss,SSS%22).format(Calendar.getInstance().getTime()).toString() + %22 FATAL %5BlOG%5D %22 + message);%0A%09   %7D%0A%0A%09public static void debug(String message) %7B%0A%09   Log.debug(message);%0A%09   System.out.println(new SimpleDateFormat(%22yyyy-MM-dd HH:mm:ss,SSS%22).format(Calendar.getInstance().getTime()).toString() + %22 DEBUG %5BlOG%5D %22 + message);%0A%09   %7D%0A%0A%09%7D%0A

Create Log.java