|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.hp.hpl.jena.util.PlainLogHandler
A simple, unadorned output stream. Does not add anything to the messages
| Constructor Summary | |
PlainLogHandler()
Construct PlainLogHandler that goes to System.out |
|
PlainLogHandler(java.io.OutputStream outStream)
Construct PlainLogHandler that goes to an existing java.io.OutputStream |
|
PlainLogHandler(java.io.PrintWriter pw)
Construct PlainLogHandler that goes to an existing java.io.PrintWriter |
|
| Method Summary | |
void |
close()
Close the log handler and free any associated resources. |
void |
publish(int level,
java.lang.String msg,
java.lang.String cls,
java.lang.String method,
java.lang.Throwable ex)
Publish the given log information. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PlainLogHandler()
public PlainLogHandler(java.io.OutputStream outStream)
public PlainLogHandler(java.io.PrintWriter pw)
| Method Detail |
public void publish(int level,
java.lang.String msg,
java.lang.String cls,
java.lang.String method,
java.lang.Throwable ex)
publish in interface LogHandlerlevel - The log level that this message is published at (ignored in PlainLogHandler)msg - The log message to be published.cls - Optional name of the class that originated the log request.method - Optional name of the method that originated the log request.ex - Optional throwable that triggered the log request.public void close()
close in interface LogHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||