Class TLcyErrorLogAddOn
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 and Logback 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 java.util.logging
and SFL4J with Logback.
If you have replaced the ILcdLoggerFactory to change the logging framework
to a different one than mentioned above, this add-on will not work.
- Since:
- 2016.1
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidplugInto(ILcyLucyEnv aLucyEnv) Creates and plugs in the add-on's preferences tool.voidunplugFrom(ILcyLucyEnv aEnv) Unplugs the add-on's preferences tool.Methods inherited from class com.luciad.lucy.addons.ALcyPreferencesAddOn
createPreferencesTool, getLongPrefix, getLucyEnv, getPreferences, getPreferencesTool, getShortPrefixMethods inherited from class com.luciad.lucy.addons.ALcyAddOn
getConfigSourceName, getDisplayName, setConfigSourceName, setDisplayName
-
Constructor Details
-
TLcyErrorLogAddOn
public TLcyErrorLogAddOn()Default constructor
-
-
Method Details
-
plugInto
Description copied from class:ALcyPreferencesAddOnCreates and plugs in the add-on's preferences tool.- Overrides:
plugIntoin classALcyPreferencesAddOn- Parameters:
aLucyEnv- the Lucy environment to plug into- See Also:
-
unplugFrom
Description copied from class:ALcyPreferencesAddOnUnplugs the add-on's preferences tool.- Overrides:
unplugFromin classALcyPreferencesAddOn- Parameters:
aEnv- the Lucy environment- See Also:
-