com.sun.jdo.spi.persistence.utility.logging
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
 Logger getLogger(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 logger
bundleName - the fully qualified name of the resource bundle
loader - the class loader used to load the resource bundle, or null
Returns:
the logger


Copyright © 2012 GlassFish Community. All Rights Reserved.