Re: AbstractMojo.getLog vs LogEnabled.enableLogging (found in maven-eclipse-plugin)

2009-03-28 Thread Barrie Treloar
> If you want to log in Plexus there is no static logging. You either extend > AbstractLogEnabled to have logging capabilities or you inject a Logger. > > Mojo has it's own logging implementation to decouple it from Plexus even > though the default implementation wraps a Plexus logger. > > Therefor

Re: AbstractMojo.getLog vs LogEnabled.enableLogging (found in maven-eclipse-plugin)

2009-03-27 Thread Jason van Zyl
On 27-Mar-09, at 2:10 PM, Barrie Treloar wrote: On Sat, Mar 28, 2009 at 1:59 AM, Jason van Zyl wrote: On 26-Mar-09, at 5:29 PM, Barrie Treloar wrote: EclipsePlugin extends AbstractIdeSupportMojo AbstractIdeSupportMojo extends AbstractMojo implements LogEnabled AbstractMojo has getLog() Log

Re: AbstractMojo.getLog vs LogEnabled.enableLogging (found in maven-eclipse-plugin)

2009-03-27 Thread Barrie Treloar
On Sat, Mar 28, 2009 at 1:59 AM, Jason van Zyl wrote: > > 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() >> >> Whic

Re: AbstractMojo.getLog vs LogEnabled.enableLogging (found in maven-eclipse-plugin)

2009-03-27 Thread Jason van Zyl
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()

AbstractMojo.getLog vs LogEnabled.enableLogging (found in maven-eclipse-plugin)

2009-03-26 Thread Barrie Treloar
EclipsePlugin extends AbstractIdeSupportMojo AbstractIdeSupportMojo extends AbstractMojo implements LogEnabled AbstractMojo has getLog() LogEnabled has enableLogging() Which logger should be used? getLog() from AbstractMojo or the logger passed in via enableLogging()