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
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
plugInto
(ILcyLucyEnv aLucyEnv) Creates and plugs in the add-on's preferences tool.void
unplugFrom
(ILcyLucyEnv aEnv) Unplugs the add-on's preferences tool.Methods inherited from class com.luciad.lucy.addons.ALcyPreferencesAddOn
createPreferencesTool, getLongPrefix, getLucyEnv, getPreferences, getPreferencesTool, getShortPrefix
Methods 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:ALcyPreferencesAddOn
Creates and plugs in the add-on's preferences tool.- Overrides:
plugInto
in classALcyPreferencesAddOn
- Parameters:
aLucyEnv
- the Lucy environment to plug into- See Also:
-
unplugFrom
Description copied from class:ALcyPreferencesAddOn
Unplugs the add-on's preferences tool.- Overrides:
unplugFrom
in classALcyPreferencesAddOn
- Parameters:
aEnv
- the Lucy environment- See Also:
-