1 24 25 package org.objectweb.cjdbc.common.log; 26 27 import org.apache.log4j.Logger; 28 import org.apache.log4j.PropertyConfigurator; 29 30 36 public class LogManager 37 { 38 44 static Trace getLogger(String name) 45 { 46 return new Trace(Logger.getLogger(name)); 47 } 48 49 54 public static void configure(String propertyFileName) 55 { 56 PropertyConfigurator.configure(propertyFileName); 57 } 58 } 59 | Popular Tags |