com.samskivert.util
Class Log4JLogger

java.lang.Object
  extended by com.samskivert.util.Log4JLogger
All Implemented Interfaces:
Logger.Factory

public class Log4JLogger
extends Object
implements Logger.Factory

A factory for creating log4j logger implementations.


Nested Class Summary
protected static class Log4JLogger.Impl
           
 
Constructor Summary
Log4JLogger()
           
 
Method Summary
 Logger getLogger(Class<?> clazz)
           
 Logger getLogger(String name)
           
 void init()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Log4JLogger

public Log4JLogger()
Method Detail

init

public void init()
Specified by:
init in interface Logger.Factory

getLogger

public Logger getLogger(String name)
Specified by:
getLogger in interface Logger.Factory

getLogger

public Logger getLogger(Class<?> clazz)
Specified by:
getLogger in interface Logger.Factory


Copyright © 2000-2008 Michael Bayne. All Rights Reserved.