Package | Description |
---|---|
org.apache.commons.logging | |
org.apache.commons.logging.impl |
Modifier and Type | Method and Description |
---|---|
protected static ClassLoader |
LogFactory.directGetContextClassLoader()
Return the thread context class loader if available; otherwise return null.
|
protected static ClassLoader |
LogFactory.getContextClassLoader()
Returns the current context classloader.
|
static LogFactory |
LogFactory.getFactory()
Construct (if necessary) and return a
LogFactory
instance, using the following ordered lookup procedure to determine
the name of the implementation class to be loaded. |
abstract Log |
LogFactory.getInstance(Class clazz)
Convenience method to derive a name from the specified class and
call
getInstance(String) with it. |
abstract Log |
LogFactory.getInstance(String name)
Construct (if necessary) and return a
Log instance,
using the factory's current set of configuration attributes. |
static Log |
LogFactory.getLog(Class clazz)
Convenience method to return a named logger, without the application
having to care about factories.
|
static Log |
LogFactory.getLog(String name)
Convenience method to return a named logger, without the application
having to care about factories.
|
protected static LogFactory |
LogFactory.newFactory(String factoryClass,
ClassLoader classLoader,
ClassLoader contextClassLoader)
Return a new instance of the specified
LogFactory
implementation class, loaded by the specified class loader. |
Modifier and Type | Method and Description |
---|---|
Log |
JBossLogFactory.getInstance(Class clazz) |
Log |
JBossLogFactory.getInstance(String name) |
Copyright © 2018 JBoss by Red Hat. All rights reserved.