kiwi.util
Class NullLoggingEndpoint
java.lang.Object
|
+--kiwi.util.NullLoggingEndpoint
- public class NullLoggingEndpoint
- extends Object
- implements LoggingEndpoint
An implementation of LoggingEndpoint
that serves as a "bit
bucket," discarding all messages.
- Version:
- 1.0 (05/98)
- Author:
- Mark Lindner, PING Software Group
Method Summary |
void |
close()
Close the logging endpoint. |
void |
logMessage(int type,
String s)
Accept (and discard) a message. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
NullLoggingEndpoint
public NullLoggingEndpoint()
- Construct a new
NullLoggingEndpoint
.
logMessage
public void logMessage(int type,
String s)
- Accept (and discard) a message. This method is effectively a no-op.
- Specified by:
- logMessage in interface LoggingEndpoint
close
public void close()
- Close the logging endpoint. This method is effectively a no-op.
- Specified by:
- close in interface LoggingEndpoint