|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.ras.RASObject | +--com.ibm.ras.RASHandler | +--com.ibm.ras.RASConsoleHandler
RASConsoleHandler
implements a RASHandler
that writes to the console (System.out
).
RASHandler
Fields inherited from class com.ibm.ras.RASHandler |
deviceOpen |
Constructor Summary | |
RASConsoleHandler()
Creates a RASConsoleHandler . |
|
RASConsoleHandler(java.lang.String name)
Creates a RASConsoleHandler . |
|
RASConsoleHandler(java.lang.String name,
java.lang.String desc)
Creates a RASConsoleHandler . |
Method Summary | |
void |
openDevice()
Opens the device to which the handler will send its log entries. |
Methods inherited from class com.ibm.ras.RASHandler |
addFormatter, addMaskChangeListener, getConfig, getFormatters, getMaskChangeListeners, getMessageMask, getTraceMask, logEvent, removeFormatter, removeMaskChangeListener, run, setConfig, setMessageMask, setTraceMask, stop, writeEvent |
Methods inherited from class com.ibm.ras.RASObject |
getDescription, getName, setDescription, setName |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.ras.RASIObject |
getDescription, getName, setDescription, setName |
Constructor Detail |
public RASConsoleHandler()
RASConsoleHandler
. The name and
description of this object are empty strings.public RASConsoleHandler(java.lang.String name)
RASConsoleHandler
. The description
of this object is an empty string.name
- The name of this object.public RASConsoleHandler(java.lang.String name, java.lang.String desc)
RASConsoleHandler
.name
- The name of this object.desc
- The description of this object.Method Detail |
public void openDevice()
System.err
.
The caller should ensure that this method is not called if the device is already open or if cannot tolerate attempts to reopen it.
For the RASConsoleHandler
, the device is
System.out
.
openDevice
in class RASHandler
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |