com.protomatter.syslog.commons
Class SyslogChannelLogFactory
java.lang.Object
|
+--org.apache.commons.logging.LogFactory
|
+--com.protomatter.syslog.commons.SyslogChannelLogFactory
- public class SyslogChannelLogFactory
- extends org.apache.commons.logging.LogFactory
A subclass of the org.apache.commons.logging.LogFactory class.
Fields inherited from class org.apache.commons.logging.LogFactory |
factories, FACTORY_DEFAULT, FACTORY_PROPERTIES, FACTORY_PROPERTY, SERVICE_ID |
Method Summary |
java.lang.Object |
getAttribute(java.lang.String name)
|
java.lang.String[] |
getAttributeNames()
|
org.apache.commons.logging.Log |
getInstance(java.lang.Class clazz)
Get a Log instance with the name of the
given class's package (or the class name if
it has no package). |
org.apache.commons.logging.Log |
getInstance(java.lang.String name)
Get a Log instance with the given name. |
void |
release()
|
void |
removeAttribute(java.lang.String name)
|
void |
setAttribute(java.lang.String name,
java.lang.Object value)
|
Methods inherited from class org.apache.commons.logging.LogFactory |
getContextClassLoader, getFactory, getLog, getLog, newFactory, release, releaseAll |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SyslogChannelLogFactory
public SyslogChannelLogFactory()
getInstance
public org.apache.commons.logging.Log getInstance(java.lang.Class clazz)
throws org.apache.commons.logging.LogConfigurationException
- Get a Log instance with the name of the
given class's package (or the class name if
it has no package).
- Overrides:
getInstance
in class org.apache.commons.logging.LogFactory
- See Also:
SyslogChannelLog
getInstance
public org.apache.commons.logging.Log getInstance(java.lang.String name)
throws org.apache.commons.logging.LogConfigurationException
- Get a Log instance with the given name.
- Overrides:
getInstance
in class org.apache.commons.logging.LogFactory
- See Also:
SyslogChannelLog
release
public void release()
- Overrides:
release
in class org.apache.commons.logging.LogFactory
getAttribute
public java.lang.Object getAttribute(java.lang.String name)
- Overrides:
getAttribute
in class org.apache.commons.logging.LogFactory
getAttributeNames
public java.lang.String[] getAttributeNames()
- Overrides:
getAttributeNames
in class org.apache.commons.logging.LogFactory
removeAttribute
public void removeAttribute(java.lang.String name)
- Overrides:
removeAttribute
in class org.apache.commons.logging.LogFactory
setAttribute
public void setAttribute(java.lang.String name,
java.lang.Object value)
- Overrides:
setAttribute
in class org.apache.commons.logging.LogFactory