Siena (v.1.5.5) API documentation

siena
Class Logging

java.lang.Object
  extended by siena.Logging

public class Logging
extends java.lang.Object

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

Logging

public Logging()
Method Detail

setLogStream

public static void setLogStream(java.io.PrintStream s)
sets a log and debug stream. null means no log and debug output.

Parameters:
s - the new debug output stream
See Also:
getLogStream()

getLogStream

public static java.io.PrintStream getLogStream()
the current debug output stream. null means no debug output.

Returns:
the current debug output stream.
See Also:
setLogStream(PrintStream)

setErrorStream

public static void setErrorStream(java.io.PrintStream s)
sets an error output stream. null means no error output.

Parameters:
s - the new error output stream
See Also:
getErrorStream()

getErrorStream

public static java.io.PrintStream getErrorStream()
the current error output stream. null means no error output.

Returns:
the current error output stream.
See Also:
setErrorStream(PrintStream)

Siena (v.1.5.5) API documentation

Copyright © 2000-2005 University of Colorado.
Copyright © 2005-2008 Antonio Carzaniga.
This documentation is maintained by Antonio Carzaniga