1 22 23 package org.continuent.sequoia.common.log; 24 25 import org.apache.log4j.Logger; 26 import org.apache.log4j.PropertyConfigurator; 27 28 34 public class LogManager 35 { 36 42 static Trace getLogger(String name) 43 { 44 return new Trace(Logger.getLogger(name)); 45 } 46 47 52 public static void configure(String propertyFileName) 53 { 54 PropertyConfigurator.configure(propertyFileName); 55 } 56 } 57 | Popular Tags |