org.mule.module.logging
Class MuleLogFactory
java.lang.Object
org.apache.commons.logging.LogFactory
org.apache.commons.logging.impl.SLF4JLogFactory
org.mule.module.logging.MuleLogFactory
public class MuleLogFactory
- extends SLF4JLogFactory
Method Summary |
Log |
getInstance(String name)
Construct (if necessary) and return a Log instance, using
the factory's current set of configuration attributes. |
Methods inherited from class org.apache.commons.logging.LogFactory |
createFactory, directGetContextClassLoader, getClassLoader, getContextClassLoader, getFactory, getLog, getLog, isDiagnosticsEnabled, logRawDiagnostic, newFactory, newFactory, objectId, release, releaseAll |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
repository
protected ConcurrentHashMap<Integer,ConcurrentMap<String,Log>> repository
NO_CCL_CLASSLOADER
protected static final Integer NO_CCL_CLASSLOADER
referenceQueue
protected ReferenceQueue<ClassLoader> referenceQueue
refs
protected Map<PhantomReference<ClassLoader>,Integer> refs
MuleLogFactory
public MuleLogFactory()
getInstance
public Log getInstance(String name)
throws LogConfigurationException
- Description copied from class:
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.
- Overrides:
getInstance
in class SLF4JLogFactory
- Parameters:
name
- 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)
- Throws:
LogConfigurationException
- if a suitable Log
instance cannot be
returned
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.