EclipseDSM/Eclipse-DSM-viewer — pull request #20 by daniilyar (2013-02-25 20:06:21+00:00)
Title: Added 'debug mode' JVM option is checked by plugin. Added console logging on target platform.

New JVM option added: 'dsmviewer.debugMode=[true|false]'

* In 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.

* In Production mode (if dsmviewer.debugMode=false) runtime plugin doesn`t log to it`s own console and Eclipse native log shows logs with 'WARNING' and 'ERROR' level only.

Logger creation example:

private final Logger logger = Activator.getLogger(DtanglerRunner.class);