title: Alternative to ant stopwatch task
body: <p>I found <strong>ant task</strong> <code>stopwatch</code> in <em>ant-contrib</em> but I'm missing <code>echo level</code> and <code>duration format</code> parameters there.
  So I need to start <strong>ant in non-quiet mode</strong> to get the <code>stopwatch elapsed</code> output (seeing unwanted <strong>ant</strong> <code>echo</code> messages in addition):</p>
  
  <pre><code>&lt;target name="build"&gt;
      &lt;stopwatch name="foo"/&gt;
  
      &lt;sleep milliseconds="50"/&gt;   &lt;!-- do something --&gt;
      &lt;echo level="info" message="message not wanted to see normally"/&gt;
  
      &lt;stopwatch name="foo" action="elapsed"/&gt;
  &lt;/target&gt;
  </code></pre>
  
  <p>Alternatively I only see writing own target or macro like</p>
  
  <pre><code>&lt;macrodef name="echo-with-time"&gt;
      &lt;attribute name="message" default="" /&gt;
      &lt;attribute name="level" default="warning" /&gt;
      &lt;sequential&gt;
          &lt;local name="now"/&gt;
          &lt;tstamp&gt;&lt;format property="now" pattern="yyyy-MM-dd HH:mm:ss,SSS"/&gt; &lt;/tstamp&gt;
          &lt;echo level="@{level}" message="[${now}] @{message}" /&gt;
      &lt;/sequential&gt;
  &lt;/macrodef&gt;
  </code></pre>
  
  <p><strong>Question:</strong> is there a way to <strong>output the duration only</strong> (like calculate with taken time properties)?</p>