EventLog.Event
public static final class EventLog.Event
extends Object
从日志中读取先前记录的事件。 实例是线程安全的。
Summary
Public methods
getData
Object getData ()
Returns |
Object |
one of Integer, Long, Float, String, null, or Object[] of same. |
getProcessId
int getProcessId ()
Returns |
int |
the process ID which wrote the log entry |
getTag
int getTag ()
Returns |
int |
the type tag code of the entry |
getThreadId
int getThreadId ()
Returns |
int |
the thread ID which wrote the log entry |
getTimeNanos
long getTimeNanos ()
Returns |
long |
the wall clock time when the entry was written |