public class MultiLogFactory extends Object implements LogFactory
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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) |
public MultiLogFactory(LogFactory d1, LogFactory d2)
public MultiLogFactory(LogFactory d1, LogFactory d2, LogFactory d3)
public MultiLogFactory(LogFactory[] delegates)
public void addLogFactory(LogFactory factory)
public void removeLogFactory(LogFactory factory)
public LogFactory[] getDelegates()
public Log getLog(String channel)
getLog
in interface LogFactory
Copyright © 2006–2020 Apache Software Foundation. All rights reserved.