Interface LoggerFactory
-
- All Known Implementing Classes:
AbstractLoggerFactory,LoggerFactoryJDK13,LoggerFactoryJDK14
public interface LoggerFactoryThis interface provides for isolation between the JDO components that need logging services and the implementation of the service.This interface has no JDK 1.4 dependencies.
- Version:
- 1.0
- Author:
- Craig Russell
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LoggergetLogger(String loggerName, String bundleName, ClassLoader loader)Get a Logger.
-
-
-
Method Detail
-
getLogger
Logger getLogger(String loggerName, String bundleName, ClassLoader loader)
Get a Logger. The class that implements this interface is responsible for creating a logger for the named component. The bundle name and class loader are passed to allow the implementation to properly find and construct the internationalization bundle.- Parameters:
loggerName- the relative name of this loggerbundleName- the fully qualified name of the resource bundleloader- the class loader used to load the resource bundle, or null- Returns:
- the logger
-
-