Reputation: 6672
How can I log something for debugging purpose from within a IntelliJ plugin? (I'm not using Community Edition)
Upvotes: 23
Views: 6020
Reputation: 5787
com.intellij.openapi.diagnostic.Logger
is the officially recommended logger to use for IntelliJ plugin development. See this for more details: https://devnet.jetbrains.com/message/5306410#5306410
The thread is old so some of the other information might be outdated, that class still exists and should be used for logging.
Upvotes: 21
Reputation: 3194
I think that this will be helpful. It is a wrapper that provides logging based on IDEA internals or java.util.logging
(if internals aren't available).
Upvotes: 2