YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.util.LogCommand Class Reference

The logcat command of the log viewer. More...

Collaboration diagram for de.yaacc.util.LogCommand:
Collaboration graph

Static Public Member Functions

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.
 

Detailed Description

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.

Member Function Documentation

◆ build()

static String[] de.yaacc.util.LogCommand.build ( String level,
long clearedAtMillis,
TimeZone zone )
static
Parameters
levelthe configured log level (V, D, I, W, E, F)
clearedAtMilliswhen the user cleared the log, or 0 if never
zonethe 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: