Class TLcyErrorLogAddOn


public final class TLcyErrorLogAddOn extends ALcyPreferencesAddOn

This add-on provides a log dialog that can be opened using an action. The log dialog will list all warnings and errors that have been logged to the java.util.logging.Logger instances while the application was running.

When error and or warning messages are logged, a status event is fired to inform the user about those problems. The status event contains a link which allows to open the log dialog.

The configuration file of this add-on allows to configure to which loggers this add-on should listen.

Support for other logging frameworks

Currently this add-on only detects warning and error messages which have been logged by a Logger. If you have replaced the ILcdLoggerFactory to change the logging framework, this add-on will not work.

Note that some 3rd party logging frameworks allow sending their log messages to the JUL logging framework. For example SLF4J has a jul-to-slf4j bridge. This bridge allows the error log add-on to pick up the error and warning messages your application logs to the SLF4J framework.

Since:
2016.1