grace.log
Class StandardOutHandler
java.lang.Object
|
+--grace.log.PrintHandler
|
+--grace.log.StandardOutHandler
- public class StandardOutHandler
- extends PrintHandler
- implements Handler
This class simply redirects the PrintHandler to print to the
standard output. The FileHandler sort of does this too if one
doesn't set up any writers to which it should write. However, this
class is symantically clearer and separates it out for possibly
future functionality.
properties:
- log.handler.name.stream = out|err
Field Summary |
static java.lang.String |
rcsid
|
Constructor Summary |
StandardOutHandler()
This constructs a FileHandler that does not read any properties
and begins printing to the standard
output. |
StandardOutHandler(java.lang.String prefix,
java.lang.String name)
This constructs a FileHandler that reads properties based on
the given name and begins printing to the standard output. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
rcsid
public static final java.lang.String rcsid
StandardOutHandler
public StandardOutHandler()
throws java.rmi.RemoteException
- This constructs a FileHandler that does not read any properties
and begins printing to the standard
output.
StandardOutHandler
public StandardOutHandler(java.lang.String prefix,
java.lang.String name)
throws java.rmi.RemoteException
- This constructs a FileHandler that reads properties based on
the given name and begins printing to the standard output.