Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(462)

Side by Side Diff: docs/android_logging.md

Issue 1540943002: [doc] Clarifiy that logcat filters don't support regexes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Logging # 1 # Logging #
2 2
3 [TOC] 3 [TOC]
4 4
5 5
6 ## Overview 6 ## Overview
7 7
8 Logging used to be done using Android's [android.util.Log] 8 Logging used to be done using Android's [android.util.Log]
9 (http://developer.android.com/reference/android/util/Log.html). 9 (http://developer.android.com/reference/android/util/Log.html).
10 10
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 193
194 This shows only logs having a level higher or equal to DEBUG for 194 This shows only logs having a level higher or equal to DEBUG for
195 `cr_YourModuleTag`, and SILENT (nothing is logged at this level or higher, so it 195 `cr_YourModuleTag`, and SILENT (nothing is logged at this level or higher, so it
196 silences the tags) for everything else. You can persist a filter by setting an 196 silences the tags) for everything else. You can persist a filter by setting an
197 environment variable: 197 environment variable:
198 198
199 ```shell 199 ```shell
200 export ANDROID_LOG_TAGS="cr_YourModuleTag:D *:S" 200 export ANDROID_LOG_TAGS="cr_YourModuleTag:D *:S"
201 ``` 201 ```
202 202
203 The syntax does not support tag expansion or regular expressions other than `*`
204 for all tags. Please use `grep` or a similar tool to refine your filters
205 further.
206
203 For more, see the [related page on developer.android.com] 207 For more, see the [related page on developer.android.com]
204 (http://developer.android.com/tools/debugging/debugging-log.html#filteringOutput ) 208 (http://developer.android.com/tools/debugging/debugging-log.html#filteringOutput )
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698