Home
Categories
Dictionary
Download
Project Details
Changes Log
FAQ
License

Script logger



The ScriptLogger is an interface which logs informations and errors during the script execution. The logger is accessible by the logger field.

It is possible to set a custom logger by ScriptWrapper.setScriptLogger(ScriptLogger).

Th script logger is available through the logger field in your script. For example:
      public void apply() {
         logger.append("Some text");
      }

Logger API

The logger has the following regular methods:
The logger also has some methods which allow to show hyperlinks:

Swing implementation

Main Article: Swing utility classes

There is a Swing utility class which implements the Script logger interface.

See also


Categories: api

Copyright 2019-2020 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence