<record>
A task that records the build's output to a file. Loosely based on Ant's Record task.
| Attribute | Description | Required |
|---|---|---|
| name | Name of destination file. | True |
| action | Action to apply to this log instance. It can take one of the following values: start, stop, close. | True |
| failonerror | Determines whether task failure stops the build or is just reported. Default is "true." | False |
| verbose | Task reports detailed build log messages. Default is "false." | False |
| if | If true then the task will be executed; otherwise skipped. Default is "true." | False |
| unless | Opposite of if. If false then the task will be executed; otherwise skipped. Default is "false." | False |
Example
<record name="${outputdir}\Buildlog.txt" action="Start"/>