The logcat command of the log viewer.
More...
|
| static String[] | build (String level, long clearedAtMillis, TimeZone zone) |
| |
|
static String[] | clearBuffer () |
| | The command that tries to empty the buffer as well; the marker is what makes "clear" reliable.
|
| |
The logcat command of the log viewer.
"Clear" is a time marker: only entries after it are shown, so it works even where the system refuses to empty the log buffer of an app.
◆ build()
| static String[] de.yaacc.util.LogCommand.build |
( |
String | level, |
|
|
long | clearedAtMillis, |
|
|
TimeZone | zone ) |
|
static |
- Parameters
-
| level | the configured log level (V, D, I, W, E, F) |
| clearedAtMillis | when the user cleared the log, or 0 if never |
| zone | the time zone of the device, the one logcat prints in |
- Returns
- the command with its arguments, for
Runtime#exec(String[])
The documentation for this class was generated from the following file:
- /github/workspace/yaacc/src/main/java/de/yaacc/util/LogCommand.java