Interface LoggerFactory
- All Known Implementing Classes:
AbstractLoggerFactory,LoggerFactoryJDK13,LoggerFactoryJDK14
public interface LoggerFactory
This 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
Modifier and TypeMethodDescriptiongetLogger(String loggerName, String bundleName, ClassLoader loader) Get a Logger.
-
Method Details
-
getLogger
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
-