com.opensymphony.xwork2.util.logging
Class LoggerFactory
java.lang.Object
com.opensymphony.xwork2.util.logging.LoggerFactory
- Direct Known Subclasses:
- CommonsLoggerFactory, JdkLoggerFactory
public abstract class LoggerFactory
- extends Object
Creates loggers. Static accessor will lazily try to decide on the best factory if none specified.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
lock
private static final ReadWriteLock lock
factory
private static LoggerFactory factory
LoggerFactory
public LoggerFactory()
setLoggerFactory
public static void setLoggerFactory(LoggerFactory factory)
getLogger
public static Logger getLogger(Class<?> cls)
getLogger
public static Logger getLogger(String name)
getLoggerFactory
protected static LoggerFactory getLoggerFactory()
getLoggerImpl
protected abstract Logger getLoggerImpl(Class<?> cls)
getLoggerImpl
protected abstract Logger getLoggerImpl(String name)
Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.