|
Siena (v.1.5.5) API documentation | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsiena.Logging
public class Logging
logging and error reporting facility for Siena.
Logging
allows you to redirect error and log messages
to specific streams.
Constructor Summary | |
---|---|
Logging()
|
Method Summary | |
---|---|
static java.io.PrintStream |
getErrorStream()
the current error output stream. |
static java.io.PrintStream |
getLogStream()
the current debug output stream. |
static void |
setErrorStream(java.io.PrintStream s)
sets an error output stream. |
static void |
setLogStream(java.io.PrintStream s)
sets a log and debug stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Logging()
Method Detail |
---|
public static void setLogStream(java.io.PrintStream s)
null
means no log
and debug output.
s
- the new debug output streamgetLogStream()
public static java.io.PrintStream getLogStream()
null
means no
debug output.
setLogStream(PrintStream)
public static void setErrorStream(java.io.PrintStream s)
null
means no error
output.
s
- the new error output streamgetErrorStream()
public static java.io.PrintStream getErrorStream()
null
means no
error output.
setErrorStream(PrintStream)
|
Siena (v.1.5.5) API documentation | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |