|
IDebug © 1997-2001 Joseph Kiniry © 2000-2001 KindSoftware © 1997-1999 Caltech All Rights Reserved |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
The interface which all classes providing output methods used to send debugging messages to various types of devices must implement.
DebugOutputBase| Method Summary | |
java.io.Writer |
getWriter()
Returns a Writer for this output interface if one is
available. |
boolean |
isValidCategory(java.lang.String category)
Tests to see if the current debug context is interested in a given category. |
boolean |
isValidLevel(int level)
Tests to see if the current debug context is interested in a given level. |
boolean |
print(int level,
java.lang.Object object)
Print out an object if the debugging context warrents. |
boolean |
print(int level,
java.lang.String message)
Print out a debugging message if the debugging context warrents. |
boolean |
print(java.lang.String category,
java.lang.Object object)
Print out an object if the debugging context warrents. |
boolean |
print(java.lang.String category,
java.lang.String message)
Print out a debugging message if the debugging context warrents. |
boolean |
println(int level,
java.lang.Object object)
Print out an object if the debugging context warrents. |
boolean |
println(int level,
java.lang.String message)
Print out a debugging message if the debugging context warrents. |
boolean |
println(java.lang.String category,
java.lang.Object object)
Print out an object if the debugging context warrents. |
boolean |
println(java.lang.String category,
java.lang.String message)
Print out a debugging message if the debugging context warrents. |
void |
printMsg(int level,
java.lang.String message)
Print out the debugging message, no questions asked. |
void |
printMsg(java.lang.String message)
Print out the debugging message, no questions asked. |
void |
printMsg(java.lang.String category,
java.lang.String message)
Print out the debugging message, no questions asked. |
| Method Detail |
public void printMsg(java.lang.String category,
java.lang.String message)
Print out the debugging message, no questions asked.
category - is the category of this message.message - is the debugging message to print.
public void printMsg(int level,
java.lang.String message)
Print out the debugging message, no questions asked.
level - The debugging level of this message.message - The debugging message to print.public void printMsg(java.lang.String message)
Print out the debugging message, no questions asked.
message - The debugging message to print.
public boolean print(int level,
java.lang.String message)
Print out a debugging message if the debugging context warrents.
level - The debugging level of this message.message - The debugging message to print.
public boolean print(int level,
java.lang.Object object)
Print out an object if the debugging context warrents.
level - The debugging level of this message.object - The object to print.
public boolean print(java.lang.String category,
java.lang.String message)
Print out a debugging message if the debugging context warrents.
category - The category of this message.message - The debugging message to print.
public boolean print(java.lang.String category,
java.lang.Object object)
Print out an object if the debugging context warrents.
category - The category of this message.object - The object to print.
public boolean println(java.lang.String category,
java.lang.Object object)
Print out an object if the debugging context warrents.
category - The category of this message.object - The object to print.
public boolean println(java.lang.String category,
java.lang.String message)
Print out a debugging message if the debugging context warrents.
category - The category of this message.message - The debugging message to print.
public boolean println(int level,
java.lang.Object object)
Print out an object if the debugging context warrents.
level - The debugging level of this message.object - The object to print.
public boolean println(int level,
java.lang.String message)
Print out a debugging message if the debugging context warrents.
level - The debugging level of this message.message - The debugging message to print.public java.io.Writer getWriter()
Returns a Writer for this output interface if one is
available.
Writer for this output interface if one is
available.Writerpublic boolean isValidCategory(java.lang.String category)
Tests to see if the current debug context is interested in a given category.
category - the category to inspect.Contextpublic boolean isValidLevel(int level)
Tests to see if the current debug context is interested in a given level.
level - the level to inspect.Context
|
IDebug © 1997-2001 Joseph Kiniry © 2000-2001 KindSoftware © 1997-1999 Caltech All Rights Reserved |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||