How can I view plugin log messages?

Answered

I'm testing the plugin by an autogenerated run config that launches another IDEA instance that has the plugin attached, these VM options are used:

-Xms128m -Xmx4096m -server -ea -Didea.system.path=/home/user/.macroannotation-ideaPluginIC/test-system -Didea.config.path=/home/user/.macroannotation-ideaPluginIC/test-config -Dsbt.ivy.home=/home/user/.ivy2 -Dplugin.path=/home/user/IdeaProjects/macroannotation_scala213/plugin/target/plugin/macroannotation-idea

 

I tried debug mode also, but I don't know where should I search for the log messages I generate in the plugin.

I use com.intellij.openapi.diagnostic.Logger, and use it like this:

private val Log = Logger.getInstance(classOf[TextBoxes])
Log.setLevel(Level.DEBUG)
Log.debug(s"TextBoxes loaded")

Please sign in to leave a comment.