On 26-Mar-09, at 5:29 PM, Barrie Treloar wrote:

EclipsePlugin extends AbstractIdeSupportMojo
AbstractIdeSupportMojo extends AbstractMojo implements LogEnabled
AbstractMojo has getLog()
LogEnabled has enableLogging()

Which logger should be used?

getLog() from AbstractMojo
or

Use the getLog() as that's the plugin api. Enable logging is Plexus specific so you should avoid that if you can.

the logger passed in via enableLogging()

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org


Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
http://twitter.com/jvanzyl
----------------------------------------------------------

You are never dedicated to something you have complete confidence in.
No one is fanatically shouting that the sun is going to rise tomorrow.
They know it is going to rise tomorrow. When people are fanatically
dedicated to political or religious faiths or any other kind of
dogmas or goals, it's always because these dogmas or
goals are in doubt.

  -- Robert Pirzig, Zen and the Art of Motorcycle Maintenance


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to