logahawk.listeners
Class WriterListener
java.lang.Object
logahawk.listeners.AppendableListener
logahawk.listeners.WriterListener
- All Implemented Interfaces:
- Listener
@ThreadSafe
public class WriterListener
- extends AppendableListener
A helper Listener
that can write to a Writer
.
This class does not add anything over AppendableListener
, but exists because more people are familiar with
the Writer
interface than the new Appendable
interface.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WriterListener
public WriterListener(Writer writer)
WriterListener
public WriterListener(Writer writer,
MessageFormatter formatter)
getWriter
public Writer getWriter()