[GRADLE-1029] add captureStandardError() method on Task API to mirror existing captureStandardOutput() Created: 12/Jul/10 Updated: 04/Jan/13 Resolved: 24/Nov/10
|Reporter:||Chris Beams||Assignee:||Adam Murdoch|
Some times code out of your control (an ant taskdef in my case) will issue spurious log output to stderr that you would like to quell.
this can be done with captureStandardOutput(LogLevel.INFO), but there is no similar method for capturing stderr.
|Comment by Adam Murdoch [ 18/Jul/10 ]|
Added LoggingManager.captureStandardError() and Task.getLogging() to provide access to the task's LoggingManager, so you can use task.logging.captureStandardError LogLevel.INFO