Package org.apache.commons.jcs3.log
Class JulLogFactory
java.lang.Object
org.apache.commons.jcs3.log.JulLogFactory
- All Implemented Interfaces:
LogFactory
This is a SPI factory implementation for java.util.logging
-
Field Summary
Fields inherited from interface org.apache.commons.jcs3.log.LogFactory
ROOT_LOGGER_NAME
-
Constructor Summary
Constructors -
Method Summary
Modifier 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 factoryvoid
shutdown()
Shutdown the logging system if the logging system supports it.
-
Constructor Details
-
JulLogFactory
public JulLogFactory()
-
-
Method Details
-
getName
Return the name of the Log subsystem managed by this factory- Specified by:
getName
in interfaceLogFactory
- Returns:
- the name of the log subsystem
-
shutdown
Shutdown the logging system if the logging system supports it.- Specified by:
shutdown
in interfaceLogFactory
-
getLog
Returns a Log using the fully qualified name of the Class as the Log name.- Specified by:
getLog
in interfaceLogFactory
- Parameters:
clazz
- The Class whose name should be used as the Log name.- Returns:
- The Log.
-
getLog
Returns a Log with the specified name.- Specified by:
getLog
in interfaceLogFactory
- Parameters:
name
- The logger name.- Returns:
- The Log.
-