|
Spatial DataBlade JAVA API v8.21 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LogHandler
Handles log messages.
Note: This interface is used internally, to ensure logging functionality for API code running on JRE versions prior to 1.4. In a future version, this implementation will probably be deprecated. Instead, the "java.util.logging" package (defined in J2SE 1.4) will be used.
A LogHandler formats and writes log messages to a java.io.Writer object.
Note: A future version will favor the usage of the "java.util.logging" J2SE 1.4 package instead of this implementation.
Logger
Method Summary | |
---|---|
void |
close()
Close the LogHandler and free all associated resources. |
void |
flush()
Flush any buffered output. |
void |
write(com.ibm.spatial.util.LogRecord record)
Write a LogRecord. |
Method Detail |
---|
void write(com.ibm.spatial.util.LogRecord record)
The logging request was made initially to a Logger object, which initialized the LogRecord and forwarded it here.
The LogHandler is responsible for formatting the message.
record
- description of the log eventvoid flush()
void close()
The close method will perform a flush and then close the LogHandler. After close has been called this LogHandler should no longer be used. Method calls may either be silently ignored or may throw runtime exceptions.
|
Spatial DataBlade JAVA API v8.21 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |