kiwi.util
Class RawLoggingEndpoint
java.lang.Object
|
+--kiwi.util.RawLoggingEndpoint
- public class RawLoggingEndpoint
- extends Object
- implements LoggingEndpoint
An implementation of LoggingEndpoint
for standard error.
- Version:
- 1.0 (01/98)
- Author:
- Mark Lindner, PING Software Group
Method Summary |
void |
close()
Close the logging endpoint. |
void |
logMessage(int type,
String message)
Write a message to standard error. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
RawLoggingEndpoint
public RawLoggingEndpoint()
- Construct a new
RawLoggingEndpoint
.
logMessage
public void logMessage(int type,
String message)
- Write a message to standard error.
- Specified by:
- logMessage in interface LoggingEndpoint
- Parameters:
type
- The message type; one of the constants defined in
LoggingEndpoint
.message
- The message.
close
public void close()
- Close the logging endpoint. This method is effectively a no-op, since it
is usually undesirable to close the standard error stream.
- Specified by:
- close in interface LoggingEndpoint