com.partnersoft.platform.webstart
Class WebstartLogFactory

java.lang.Object
  extended by com.partnersoft.core.LogFactory
      extended by com.partnersoft.platform.webstart.WebstartLogFactory

public class WebstartLogFactory
extends LogFactory

An implementation of LogFactory designed for use with Java Web Start. Currently logging is only done to STDOUT/STDERR.

Copy Copyright 2008 Partner Software, Inc.

Version:
$Id: Log4jLogFactory.java 1060 2007-12-12 19:24:12Z paul $
Author:
Paul Reavis

Constructor Summary
WebstartLogFactory()
          Creates the log factory, configuring log4j by reading either ReadOnlyLogging.properties or Logging.properties from the first directory it is found in from the following list: config/seat/system/logging/ config/site/system/logging/ config/customer/system/logging/ config/provider/system/logging/ system/logging/ This allows customization of logging for a specific installation or group of installations.
 
Method Summary
 Log instanceFor(java.lang.Class clazz)
          Return a Log object for the given class.
 Log instanceFor(java.lang.String name)
          Returns the correct Log instance for the given name.
 
Methods inherited from class com.partnersoft.core.LogFactory
getFactory, logFor, logFor, setFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebstartLogFactory

public WebstartLogFactory()
Creates the log factory, configuring log4j by reading either ReadOnlyLogging.properties or Logging.properties from the first directory it is found in from the following list: This allows customization of logging for a specific installation or group of installations. Use the provided one in system/logging/ as an example when creating a custom one.

Method Detail

instanceFor

public Log instanceFor(java.lang.Class clazz)
Description copied from class: LogFactory
Return a Log object for the given class. By default just calls instanceFor(class.getName());

Overrides:
instanceFor in class LogFactory

instanceFor

public Log instanceFor(java.lang.String name)
Description copied from class: LogFactory
Returns the correct Log instance for the given name.

Specified by:
instanceFor in class LogFactory