|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.openjpa.lib.log.MultiLogFactory
public class MultiLogFactory
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 the given delegates. |
|
MultiLogFactory(LogFactory d1,
LogFactory d2,
LogFactory d3)
Create an instance with the given delegates. |
Method Summary | |
---|---|
void |
addLogFactory(LogFactory factory)
|
LogFactory[] |
getDelegates()
Returns the delegates that this MultiLogFactory delegates messages to. |
Log |
getLog(String channel)
Returns a Log impl that combines all logs. |
void |
removeLogFactory(LogFactory factory)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MultiLogFactory(LogFactory d1, LogFactory d2)
public MultiLogFactory(LogFactory d1, LogFactory d2, LogFactory d3)
public MultiLogFactory(LogFactory[] delegates)
Method Detail |
---|
public void addLogFactory(LogFactory factory)
public void removeLogFactory(LogFactory factory)
public LogFactory[] getDelegates()
public Log getLog(String channel)
getLog
in interface LogFactory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |