Adds an event handler to display debug information to the user.
public static synchronized void addOnDisplayMessage( DebugMessageEventHandler handler )
handler
The DebugMessageEventHandler delegate to route debug messages to.
The event handler will be called in response to the Debug.print or Debug.println statements. The default behavior of the Debug class is to send this information to System.out.
See Also removeOnDisplayMessage