public class CommonsLoggingFactory
extends LogFactoryImpl
org.apache.commons.logging.LogFactory
(see org.apache.commons.logging.LogFactory#FACTORY_PROPERTY).
Some frameworks will get recognized by the callstack, and for those logger requests this factory will return an apache logger that is backed by an ACS-enabled JDK logger. Frameworks that are not recognized will get a normal apache logger. Currently this factory supports and maps:
The alternative to recognizing frameworks, at the expense of creating and checking the call stack, would be to create a different ACS logger for every requested logger. This would conflict with the concept of ACS that logger names should represent components or other pieces of code, and not the names of implementation classes that request the loggers.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SCXML_LOGGER_NAME_PREFIX
SCXML logger name base.
|
| Constructor and Description |
|---|
CommonsLoggingFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected Log |
newInstance(java.lang.String name) |
public static final java.lang.String SCXML_LOGGER_NAME_PREFIX