Open thehabes opened 6 years ago
Showing console instead of log as suggested by other ImageJ developers.
"Starting" shows as a warning, should be info.
logService.log().warn() is the cheap way of forcing the console to show up without using an ImageJ command. Natively, the scijava.log.LogService package will open the console on warn(), but not on log().
There were issues using the ImageJ commands because it wants to use its imageJ log, which is not the same as the console.
I could investigate another way of doing it. "starting" as a warning was a quick fix for this issue.
As we move away from debugging to stable usage, we might consider the console optional. Perhaps the documentation could say something like:
For information about the processing steps being executed by the plugin open the console (Window>Console
).
Similarly, if we are to imagine a user not wanting the log at all, it's not really a warning if it completes successfully, but information.
[WARNING] End of SpectralRTI Plugin.
[WARNING] Finished processing the run().
Will do this to pull away from the unnecessary warn()s
A line of instructions was added to the preference window.
The preference window and task selection window do not allow the user to click the imageJ panel, so they are instructed to do it during processing.
Changed text to
Tip: Select Window > Console in the ImageJ panel during processing for more information.
The plugin has a hard time understanding the difference and the user definitely notices.