This property stipulates the level of debugging to be used when running EditLive! for Java.
JavaScript object.setDebugLevel(strDebugLevel)
strDebugLevel Required. A string specifying the level of debugging to run EditLive! for Java with. There are seven distinct possible debug levels: fatal, error, warn, info, debug, http and trace. Default: info
The following code creates an instance of EditLive! for Java and sets the debug level to debug.
var editlivejava1;
editlivejava1 = new EditLiveJava("ELJApplet1","600","400");
editlivejava1.setDebugLevel("debug");
All information produced via the setting of the debug level is outputted to the Java console.
The following is a list of the possible debug levels in order of increasingly detailed output:
Debug Level | Description |
fatal | This debugging level displays only error messages which prevent EditLive! for Java from continuing, thus resulting in termination of the program. |
error | This debugging level displays error messages for cases in
which EditLive! for Java can continue despite the error. However,
the current EditLive! for Java operation will most likely fail due to the
relevant error.
This debugging level also displays all the debugging information that would be displayed should the debugging level be set to fatal. |
warn | This debugging level displays messages indicating that an
unexpected error has occurred and this may cause EditLive! for Java to
behave in an unexpected manner. However, the current EditLive! for
Java operation will most likely be completed successfully.
This debugging level also displays all the debugging information that would be displayed should the debugging level be set to error. |
info | This debugging level displays messages indicating that an
event of some significance has occurred (e.g. a server has requested
authentication details). EditLive! for Java expects such events and
deals with them accordingly.
This debugging level also displays all the debugging information that would be displayed should the debugging level be set to warn. |
debug | This debugging level displays any information which may be
useful for debugging purposes.
This debugging level also displays all the debugging information that would be displayed should the debugging level be set to info. |
http | This debugging level displays communications using the HTTP
client component of EditLive! for Java (i.e. client server
communications). This debugging level is most useful for tracking
problems associated with HTTP connections.
This debugging level also displays all the debugging information that would be displayed should the debugging level be set to debug. |
trace | This debugging level displays messages when methods are
entered. This produces a large amount of output.
This debugging level also displays all the debugging information that would be displayed should the debugging level be set to debug. |
Copyright © 2001-2004 Ephox Corporation. All Rights Reserved.