Adam Murdoch-2 wrote:
> 
> 
> 
> JerodLass wrote:
>> How can I output my own debug statements?  I've been just printing
>> statements
>> and then deleting them when something's wrong, but can I output to
>> gradle's
>> debug console?
>>   
> Gradle uses slf4j to do its logging. You can use it to output debug 
> messages.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
> 
>     http://xircles.codehaus.org/manage_email
> 
> 
> 
> 
Exactly. So simply write:

logger.debug("mymessage) or
logger.info("mymessage")

in your build.gradle file.

This should be described in the user's guide.

- Hans

-- 
View this message in context: 
http://www.nabble.com/Debug-statements-tp18619659p18625658.html
Sent from the gradle-user mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to