org.scripthelper.context.ScriptLogger
is an interface which logs informations and errors during the script execution. org.scripthelper.context.DefaultScriptLogger
and logs on the output stream and the error stream.
public class ScriptLogger |
---|
Modifier and Type | Method and Description |
---|---|
void | append(String text)
Append a line of text, with a default color
|
void | append(String text, String htmlColor)
Append a line of text, with a specific HTML color
|
void | appendError(String message)
Append an error message
|
void | appendError(Throwable th)
Append an error message. By default defer to
appendError(String) |
void | clearTab()
Clear the current value of the tab for the text. All subsequent lines will be presented without tab. Do nothing by default.
|
void | setTab(in ttabs)
Set the current value for of the tab for the text. All subsequent lines will be presented with a tab of
tabs . Do nothing by default. |
org.scripthelper.context.DefaultScriptLogger
and logs on the output stream and the error stream. org.scripthelper.swing.DefaultSwingScriptLogger
is a frame[1]
scriptHelperSwing.jar
in the classpath of your IDE to compile. You however don't need to put it on the classpath of your application, because scriptHelperSwing.jar
is referenced in javaXUL.jar
manifestorg.scripthelper.swing.DefaultSwingScriptLoggerArea
is a component which you can integrate in your application[1]
scriptHelperSwing.jar
in the classpath of your IDE to compile. You however don't need to put it on the classpath of your application, because scriptHelperSwing.jar
is referenced in javaXUL.jar
manifestCopyright 2008-2020 Herve Girod. All Rights Reserved. Documentation and source under the LGPL licence