Merge "Tweak docs on 'adb logcat'" into ics-mr1

This commit is contained in:
Christopher Tate
2012-01-03 17:38:51 -08:00
committed by Android (Google) Code Review
2 changed files with 10 additions and 9 deletions

View File

@@ -221,19 +221,20 @@ export ANDROID_LOG_TAGS="ActivityManager:I MyApp:D *:S"
below.</p> below.</p>
<ul> <ul>
<li><code>brief</code> &mdash; Display priority/tag and PID of originating process (the default <li><code>brief</code> &mdash; Display priority/tag and PID of the process issuing the
format).</li> message (the default format).</li>
<li><code>process</code> &mdash; Display PID only.</li> <li><code>process</code> &mdash; Display PID only.</li>
<li><code>tag</code> &mdash; Display the priority/tag only.</li> <li><code>tag</code> &mdash; Display the priority/tag only.</li>
<li><code>thread</code> &mdash; Display process:thread and priority/tag only.</li>
<li><code>raw</code> &mdash; Display the raw log message, with no other metadata fields.</li> <li><code>raw</code> &mdash; Display the raw log message, with no other metadata fields.</li>
<li><code>time</code> &mdash; Display the date, invocation time, priority/tag, and PID of the <li><code>time</code> &mdash; Display the date, invocation time, priority/tag, and PID of the
originating process.</li> process issuing the message.</li>
<li><code>threadtime</code> &mdash; Display the date, invocation time, priority, tag, and
the PID and TID of the thread issuing the message.</li>
<li><code>long</code> &mdash; Display all metadata fields and separate messages with blank <li><code>long</code> &mdash; Display all metadata fields and separate messages with blank
lines.</li> lines.</li>
@@ -304,4 +305,4 @@ $ adb shell start
<p> <p>
If you're developing a web application for Android, you can debug your JavaScript using the console JavaScript APIs, If you're developing a web application for Android, you can debug your JavaScript using the console JavaScript APIs,
which output messages to LogCat. For more information, see which output messages to LogCat. For more information, see
<a href="{@docRoot}guide/webapps/debugging.html">Debugging Web Apps</a>.</p> <a href="{@docRoot}guide/webapps/debugging.html">Debugging Web Apps</a>.</p>

View File

@@ -546,12 +546,12 @@ of each message, given as <code>&lt;priority&gt;/&lt;tag&gt;</code>. </p>
<p>Log messages contain a number of metadata fields, in addition to the tag and priority. You can modify the output format for messages so that they display a specific metadata field. To do so, you use the <code>-v</code> option and specify one of the supported output formats listed below. </p> <p>Log messages contain a number of metadata fields, in addition to the tag and priority. You can modify the output format for messages so that they display a specific metadata field. To do so, you use the <code>-v</code> option and specify one of the supported output formats listed below. </p>
<ul> <ul>
<li><code>brief</code> &mdash; Display priority/tag and PID of originating process (the default format).</li> <li><code>brief</code> &mdash; Display priority/tag and the PID of process issuing the message (the default format).</li>
<li><code>process</code> &mdash; Display PID only.</li> <li><code>process</code> &mdash; Display PID only.</li>
<li><code>tag</code> &mdash; Display the priority/tag only. </li> <li><code>tag</code> &mdash; Display the priority/tag only. </li>
<li><code>thread</code> &mdash; Display process:thread and priority/tag only. </li>
<li><code>raw</code> &mdash; Display the raw log message, with no other metadata fields.</li> <li><code>raw</code> &mdash; Display the raw log message, with no other metadata fields.</li>
<li><code>time</code> &mdash; Display the date, invocation time, priority/tag, and PID of the originating process.</li> <li><code>time</code> &mdash; Display the date, invocation time, priority/tag, and PID of the process issuing the message.</li>
<li><code>threadtime</code> &mdash; Display the date, invocation time, priority, tag, and the PID and TID of the thread issuing the message.</li>
<li><code>long</code> &mdash; Display all metadata fields and separate messages with a blank lines.</li> <li><code>long</code> &mdash; Display all metadata fields and separate messages with a blank lines.</li>
</ul> </ul>