am 30ad699c: Merge "Tweak docs on \'adb logcat\'" into ics-mr1

* commit '30ad699c0e246ef3889f691361758235ecb89895':
  Tweak docs on 'adb logcat'
This commit is contained in:
Christopher Tate
2012-01-03 17:40:53 -08:00
committed by Android Git Automerger
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>
<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 PID of the process issuing the
message (the default format).</li>
<li><code>process</code> &mdash; Display PID 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>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
lines.</li>
@@ -304,4 +305,4 @@ $ adb shell start
<p>
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
<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>
<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>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>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>
</ul>