> 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
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
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
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()
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()