-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
It is done:
Add the debug mode JVM option is checked by plugin:
-Ddsmviewer.debugMode=[true|false] toggles Debug / Production mode (Production by default):
- Debug mode (if dsmviewer.debugMode=true) → runtime plugin logs to it`s own console and Eclipse native log shows all plugin logs for all levels.
- Production mode (if dsmviewer.debugMode=false) → runtime plugin doesn
t log to its own console and Eclipse native log shows 'WARNING' and 'ERROR' logs only.
But, additionally to that we need to provide :
- convenient date pattern for logging
- reduce memory is needed for loggers (objects reusing, etc) and
- improve the logging performance.
Minors: print DSMs as text to target platform console to perform the quick checks using single Eclipse instance without window switching.