public static interface LogReceiver.ILogListener
LogReceiver.LogEntry
objects coming from log service through a LogReceiver
.
This interface provides two methods.
newEntry(com.android.ddmlib.log.LogReceiver.LogEntry)
provides a
first level of parsing, extracting LogReceiver.LogEntry
objects out of the log service output.newData(byte[], int, int)
provides a way to receive the raw information
coming directly from the log service.Modifier and Type | Method and Description |
---|---|
void |
newData(byte[] data,
int offset,
int length)
Sent when new raw data is coming from the log service.
|
void |
newEntry(LogReceiver.LogEntry entry)
Sent when a new
LogReceiver.LogEntry has been parsed by the LogReceiver . |
void newEntry(LogReceiver.LogEntry entry)
LogReceiver.LogEntry
has been parsed by the LogReceiver
.entry
- the new log entry.void newData(byte[] data, int offset, int length)
data
- the raw data buffer.offset
- the offset into the buffer signaling the beginning of the new data.length
- the length of the new data.