Package org.apache.commons.jcs3.log
Interface LogFactory
- All Known Implementing Classes:
- JulLogFactory,- Log4j2Factory
public interface LogFactory
This is a SPI factory interface for specialized Log objects
- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptionReturns a Log using the fully qualified name of the Class as the Log name.Returns a Log with the specified name.getName()Return the name of the Log subsystem managed by this factoryvoidshutdown()Shutdown the logging system if the logging system supports it.
- 
Field Details- 
ROOT_LOGGER_NAMEThe name of the root Log.- See Also:
 
 
- 
- 
Method Details- 
getNameReturn the name of the Log subsystem managed by this factory- Returns:
- the name of the log subsystem
 
- 
shutdownvoid shutdown()Shutdown the logging system if the logging system supports it.
- 
getLogReturns a Log using the fully qualified name of the Class as the Log name.- Parameters:
- clazz- The Class whose name should be used as the Log name.
- Returns:
- The Log.
- Throws:
- UnsupportedOperationException- if- clazzis- null
 
- 
getLogReturns a Log with the specified name.- Parameters:
- name- The logger name.
- Returns:
- The Log.
- Throws:
- UnsupportedOperationException- if- nameis- null
 
 
-