public class NullLoggingEndpoint extends Object implements LoggingEndpoint
LoggingEndpoint
that serves as a "bit
bucket," discarding all messages.ERROR, INFO, STATUS, WARNING
Constructor and Description |
---|
NullLoggingEndpoint()
Construct a new
NullLoggingEndpoint . |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the logging endpoint.
|
void |
logMessage(int type,
String s)
Accept (and discard) a message.
|
public NullLoggingEndpoint()
NullLoggingEndpoint
.public void logMessage(int type, String s)
logMessage
in interface LoggingEndpoint
type
- The message type; one of the static constants defined above.s
- The message.public void close()
close
in interface LoggingEndpoint
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses