info.rolandkrueger.roklib.util
Class LoggingManager
java.lang.Object
info.rolandkrueger.roklib.util.LoggingManager
- All Implemented Interfaces:
- IThreadLocalContainer, Serializable
public class LoggingManager
- extends Object
- implements IThreadLocalContainer
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
sInstance
private static ThreadLocal<LoggingManager> sInstance
sNullInstance
private static LoggingManager sNullInstance
sConfigured
private static boolean sConfigured
mLog4jConfigurationFile
private String mLog4jConfigurationFile
LoggingManager
public LoggingManager()
LoggingManager
public LoggingManager(String log4jConfigurationFile)
getLogger
public org.apache.log4j.Logger getLogger(Class<?> clazz)
configureLog4J
public void configureLog4J()
resetCurrentInstance
public void resetCurrentInstance()
- Specified by:
resetCurrentInstance
in interface IThreadLocalContainer
setCurrentInstance
public void setCurrentInstance()
- Specified by:
setCurrentInstance
in interface IThreadLocalContainer
getInstance
public static LoggingManager getInstance()
- This method is guaranteed to return a non-null result.
- Returns:
Copyright © 2007-2011. All Rights Reserved.