net.java.dev.vcc.api
Interface LogFactory

All Known Implementing Classes:
AbstractLogFactory

public interface LogFactory

Created by IntelliJ IDEA. User: connollys Date: Aug 7, 2009 Time: 3:43:53 PM To change this template use File | Settings | File Templates.


Method Summary
 Log getLog(java.lang.Class clazz)
          Gets the Log named clazz.getName().
 Log getLog(java.lang.Class clazz, java.lang.String bundleName)
          Gets the Log named clazz.getName().
 Log getLog(java.lang.String name)
          Gets the Log by name.
 Log getLog(java.lang.String name, java.lang.String bundleName)
          Gets the Log by name.
 

Method Detail

getLog

Log getLog(java.lang.String name)
Gets the Log by name.

Parameters:
name - The name of the Log to get.
Returns:
The Log.

getLog

Log getLog(java.lang.Class clazz)
Gets the Log named clazz.getName().

Parameters:
clazz - The class to get the Log for.
Returns:
The Log.

getLog

Log getLog(java.lang.String name,
           java.lang.String bundleName)
Gets the Log by name.

Parameters:
name - The name of the Log to get.
bundleName - name of ResourceBundle to be used for localizing messages for this logger. May be null if none of the messages require localization.
Returns:
The Log.

getLog

Log getLog(java.lang.Class clazz,
           java.lang.String bundleName)
Gets the Log named clazz.getName().

Parameters:
clazz - The class to get the Log for.
bundleName - name of ResourceBundle to be used for localizing messages for this logger. May be null if none of the messages require localization.
Returns:
The Log.


Copyright © 2009. All Rights Reserved.