41 lines
763 B
HTML
41 lines
763 B
HTML
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||
|
<html>
|
||
|
<head>
|
||
|
<link rel="Stylesheet" type="text/css" href="style.css">
|
||
|
<title>Android</title>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||
|
</head>
|
||
|
<body>
|
||
|
|
||
|
<p>
|
||
|
Logcat
|
||
|
adb logcat <Log Tag>:<Log Level> ... *:S
|
||
|
</p>
|
||
|
|
||
|
<p>
|
||
|
e.g. -
|
||
|
adb logcat ClockOut:V AndroidRuntime:E *:S
|
||
|
</p>
|
||
|
|
||
|
<p>
|
||
|
AndroidRuntine:E will show the stacktrace when an app crashes
|
||
|
</p>
|
||
|
|
||
|
<p>
|
||
|
Log Levels:
|
||
|
V - Verbose (lowest priority
|
||
|
D - Debug
|
||
|
I - Info (default priority)
|
||
|
W - Warning
|
||
|
E - Error
|
||
|
F - Fatal
|
||
|
S - Silent (highest priority, nothing is ever printed)
|
||
|
</p>
|
||
|
|
||
|
<p>
|
||
|
The *:S is necessary to filter out all unwanted messages.
|
||
|
</p>
|
||
|
|
||
|
</body>
|
||
|
</html>
|