SolarMetric Kodo JDO 3.1.6 generated on August 25 2004

com.solarmetric.log
Class MultiLogFactory

java.lang.Object
  |
  +--com.solarmetric.log.MultiLogFactory
All Implemented Interfaces:
LogFactory

public class MultiLogFactory
extends Object
implements LogFactory

A LogFactory implementation to pass events through multiple LogFactory implementations (such as log4j and LogPanelFactory).


Constructor Summary
MultiLogFactory(LogFactory[] delegates)
          create an instance with the given delegates
MultiLogFactory(LogFactory d1, LogFactory d2)
          create an instance with two delegates
 
Method Summary
 LogFactory[] getDelegates()
          Returns the delegates that this MultiLogFactory delegates messages to.
 Log getLog(String channel)
          returns a Log impl that combines all logs.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiLogFactory

public MultiLogFactory(LogFactory d1,
                       LogFactory d2)
create an instance with two delegates

MultiLogFactory

public MultiLogFactory(LogFactory[] delegates)
create an instance with the given delegates
Method Detail

getDelegates

public LogFactory[] getDelegates()
Returns the delegates that this MultiLogFactory delegates messages to.

getLog

public Log getLog(String channel)
returns a Log impl that combines all logs.
Specified by:
getLog in interface LogFactory

SolarMetric Kodo JDO 3.1.6 generated on August 25 2004

Copyright 2001,2002 SolarMetric, Inc. All Rights Reserved.