Package de.mnl.osgi.osgi2jul
Class LogWriter
- java.lang.Object
-
- de.mnl.osgi.osgi2jul.LogWriter
-
- All Implemented Interfaces:
EventListener
,LogListener
public class LogWriter extends Object implements LogListener
This class implements a LogListener that forwards the LogEntries to a handler.
-
-
Constructor Summary
Constructors Constructor Description LogWriter(ForwardingManager forwarder, CountDownLatch enabled)
Instantiates a new log writer.
-
-
-
Constructor Detail
-
LogWriter
public LogWriter(ForwardingManager forwarder, CountDownLatch enabled)
Instantiates a new log writer.- Parameters:
forwarder
- the forwarderenabled
- the enabled
-
-
Method Detail
-
logged
public void logged(LogEntry entry)
- Specified by:
logged
in interfaceLogListener
-
-