1 17 18 package org.apache.avalon.logging.log4j; 19 20 import org.apache.avalon.framework.logger.Logger; 21 import org.apache.avalon.logging.data.CategoriesDirective; 22 23 import org.apache.avalon.logging.provider.LoggingManager; 24 25 29 public class LoggingManagerImpl 30 implements LoggingManager 31 { 32 33 LoggingManagerImpl() 34 { 35 } 36 37 41 public void addCategories( CategoriesDirective descriptor ) 42 { 43 } 44 45 52 public void addCategories( String path, CategoriesDirective descriptor ) 53 { 54 } 55 56 61 public Logger getLoggerForCategory( final String category ) 62 { 63 org.apache.log4j.Logger log4j = 64 org.apache.log4j.Logger.getLogger( category ); 65 return new Log4JLogger( log4j ); 66 } 67 } 68 69 | Popular Tags |