public class MuleLogFactory
extends org.apache.commons.logging.impl.SLF4JLogFactory
| Modifier and Type | Field and Description |
|---|---|
static String |
LOG_HANDLER_THREAD_NAME |
protected static Integer |
NO_CCL_CLASSLOADER |
protected ReferenceQueue<ClassLoader> |
referenceQueue |
protected Map<PhantomReference<ClassLoader>,Integer> |
refs |
protected ConcurrentHashMap<Integer,ConcurrentMap<String,org.apache.commons.logging.Log>> |
repository |
attributes, LOG_PROPERTYDIAGNOSTICS_DEST_PROPERTY, factories, FACTORY_DEFAULT, FACTORY_PROPERTIES, FACTORY_PROPERTY, HASHTABLE_IMPLEMENTATION_PROPERTY, nullClassLoaderFactory, PRIORITY_KEY, SERVICE_ID, TCCL_KEY| Constructor and Description |
|---|
MuleLogFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createLoggerReferenceHandler() |
org.apache.commons.logging.Log |
getInstance(String name)
Construct (if necessary) and return a
Log instance, using
the factory's current set of configuration attributes. |
getAttribute, getAttributeNames, getInstance, release, removeAttribute, setAttributecreateFactory, directGetContextClassLoader, getClassLoader, getContextClassLoader, getFactory, getLog, getLog, isDiagnosticsEnabled, logRawDiagnostic, newFactory, newFactory, objectId, release, releaseAllpublic static final String LOG_HANDLER_THREAD_NAME
protected ConcurrentHashMap<Integer,ConcurrentMap<String,org.apache.commons.logging.Log>> repository
protected static final Integer NO_CCL_CLASSLOADER
protected ReferenceQueue<ClassLoader> referenceQueue
protected Map<PhantomReference<ClassLoader>,Integer> refs
protected void createLoggerReferenceHandler()
public org.apache.commons.logging.Log getInstance(String name) throws org.apache.commons.logging.LogConfigurationException
LogFactory
Construct (if necessary) and return a Log instance, using
the factory's current set of configuration attributes.
NOTE - Depending upon the implementation of the
LogFactory you are using, the Log instance
you are returned may or may not be local to the current application, and
may or may not be returned again on a subsequent call with the same name
argument.
getInstance in class org.apache.commons.logging.impl.SLF4JLogFactoryname - Logical name of the Log instance to be
returned (the meaning of this name is only known to the
underlying logging implementation that is being wrapped)LogConfigurationException - if a suitable Log instance cannot be
returnedCopyright © 2003–2014 MuleSoft, Inc.. All rights reserved.