blob: abf6afa42e5a8df3b8246c0d267705f3d75fb09f [file] [log] [blame]
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
<meta http-equiv="Content-Language" content="en-us"></meta>
<link rel="stylesheet" type="text/css" href="style.css">
<title>LogContent resource</title>
<h2><a name="antunit">LogContent</a></h2>
<p>Provides access to output logged by <a href="antunit.html">AntUnit</a>
in terms of Ant's Resource framework. As is the case with
<a href="assertions.html#assertLogContains">assertLogContains</a> and
<a href="assertions.html#assertLogDoesntContain">assertLogDoesntContain</a>,
&lt;logcontent&gt; is only available when executed from &lt;antunit&gt;.
<table border="1" cellpadding="2" cellspacing="0">
<td valign="top"><b>Attribute</b></td>
<td valign="top"><b>Description</b></td>
<td align="center" valign="top"><b>Required</b></td>
<td valign="top">level</td>
<td valign="top">The maximum log level to retrieve
Defaults to &quot;info&quot;.</td>
<td align="center">No.</td>
<td valign="top">mergeLines</td>
<td valign="top">Whether to merge messages into a single line
or split them into multiple lines. <em>since AntUnit
<td valign="top" align="center">No, defaults
to <code>true</code></td>