Deprecated
since it is only meant to be used in the above-mentioned fallback scenario
LogFactory class,
overriding the abstract getInstance lookup methods. This is just applied in
case of the standard commons-logging jar accidentally ending up on the classpath,
with the standard LogFactory class performing its META-INF service discovery.
This implementation simply delegates to Spring's common Log factory methods.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | |
| public String[] | |
| public Log | getInstance(Class<?>
containing Class from which a log name will be derived clazz)Overrides org. Convenience method to return a named logger. |
| public Log | getInstance(String
logical name of the name)Log instance to be returnedOverrides org. Convenience method to return a named logger. |
| public void | |
| public void | removeAttribute(String name)
Implements abstract org.
|
| public void | setAttribute(String name, Object value)
Implements abstract org.
|
| attributes | back to summary |
|---|---|
| private final Map<String, Object> attributes | |
| LogFactoryService | back to summary |
|---|---|
| public LogFactoryService() | |
| getAttribute | back to summary |
|---|---|
| public Object getAttribute(String name) Implements abstract org.
| |
| getAttributeNames | back to summary |
|---|---|
| public String[] getAttributeNames() Implements abstract org.
| |
| getInstance | back to summary |
|---|---|
| public Log getInstance(Class<?> clazz) Overrides org. Doc from org. Convenience method to return a named logger. This variant just dispatches straight to | |
| getInstance | back to summary |
|---|---|
| public Log getInstance(String name) Overrides org. Doc from org. Convenience method to return a named logger. This variant just dispatches straight to | |
| release | back to summary |
|---|---|
| public void release() Implements abstract org.
| |
| removeAttribute | back to summary |
|---|---|
| public void removeAttribute(String name) Implements abstract org.
| |
| setAttribute | back to summary |
|---|---|
| public void setAttribute(String name, Object value) Implements abstract org.
| |