Home | History | Annotate | Download | only in jcl
      1 /**
      2 *This is not a class, just a sample of some jcl source code to convert
      3 */
      4 import org.apache.commons.logging.LogFactory;
      5 import org.apache.commons.logging.Log;
      6 
      7 
      8 Log l = LogFactory.getLog(MyClass.class);
      9 Log mylog=LogFactory.getLog(MyClass.class);
     10 Log mylog1 = LogFactory.getLog(MyClass.class);
     11 Log mylog2  =    LogFactory.getLog(MyClass.class);
     12 
     13 Log log3=LogFactory.getFactory().getInstance(MyClass.class);
     14 Log mylog4 = LogFactory.getFactory().getInstance(MyClass.class);
     15 Log mylog5 = LogFactory.getLog(MyClass.class);
     16 
     17 Log myLog6;
     18 
     19 log7=LogFactory.getFactory().getInstance(MyClass.class);
     20 log8 =LogFactory.getFactory().getInstance(MyClass.class);
     21 myLog9  =  LogFactory.getLog(MyClass.class);
     22 
     23