TOP

log.capture

Description

Capture any logged messages of the nested tasks and stores them in the target property for analysis. Nevertheless the logged messages are printed. If an exception is thrown, it is suppressesed and stored in exception.@{name} property. Do not nest instances of this macro.

Parameters

Attribute Description
name the name of the property where to store
level The level of mesages to capture in the log

Nested elements

Element Description
tasks Any tasks to execute and capture the log the produce

Use <typedef resource="net/mdatools/modelant/util/assert.xml"/>
Documentation generated by ant.doc Ant macro from ModelAnt by MDA Tools