logahawk.listeners
Class NullListener
java.lang.Object
logahawk.listeners.NullListener
- All Implemented Interfaces:
- Listener
public class NullListener
- extends Object
- implements Listener
Null Listener
implementation, swallows all messages.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullListener
public NullListener()
log
public void log(LogMeta meta,
String text)
- Description copied from interface:
Listener
- Logs the provided statement.
Normally this method should not throw any exceptions. If exceptions are expected it is recommend to wrap this
Listener with a FailSafeListener.
- Specified by:
log
in interface Listener