Overview | Methods | This Package | All Packages
Prints the contents of the specified object to debug output.
Syntax
public static void printObjectIf( boolean condition, Object object )
public static void printObjectIf( String name, Object object )
Parameters
condition
The condition to check.
object
The object to print.
name
The name of the switch to check.
Remarks
In the first syntax, this method prints the specified message if the condition evaluates to true. In the second syntax, this method prints the specified message if the specified switch is set to true.
This method will be omitted from your code unless you have either the DEBUG or TRACE conditional compile switches set.
See Also getObjectText