How can I log something for debugging purpose from within a IntelliJ plugin? (I'm not using Community Edition )
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.
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).
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.