|
|
@@ -7,7 +7,7 @@ |
|
|
|
|
|
|
|
<body> |
|
|
|
|
|
|
|
<h2><a name="log">Recorder</a></h2> |
|
|
|
<h2><a name="log">Record</a></h2> |
|
|
|
<h3>Description</h3> |
|
|
|
<p>A recorder is a listener to the current build process that records the |
|
|
|
output to a file. |
|
|
@@ -70,21 +70,21 @@ to record just the <code><javac></code> task: |
|
|
|
<pre> |
|
|
|
... |
|
|
|
<compile > |
|
|
|
<recorder name="log.txt" action="start" /> |
|
|
|
<record name="log.txt" action="start" /> |
|
|
|
<javac ... |
|
|
|
<recorder name="log.txt" action="stop" /> |
|
|
|
<record name="log.txt" action="stop" /> |
|
|
|
<compile/> |
|
|
|
... |
|
|
|
</pre> |
|
|
|
|
|
|
|
<p>The following two calls to <code><recorder></code> set up two |
|
|
|
<p>The following two calls to <code><record></code> set up two |
|
|
|
recorders: one to file "records-simple.log" at logging level <code>info</code> |
|
|
|
(the default) and one to file "ISO.log" using logging level of |
|
|
|
<code>verbose</code>. |
|
|
|
<pre> |
|
|
|
... |
|
|
|
<recorder name="records-simple.log" /> |
|
|
|
<recorder name="ISO.log" loglevel="verbose" /> |
|
|
|
<record name="records-simple.log" /> |
|
|
|
<record name="ISO.log" loglevel="verbose" /> |
|
|
|
... |
|
|
|
</pre> |
|
|
|
|
|
|
|