java.lang.Object | |
↳ | android.util.EventLog |
Access to the system diagnostic event record. System diagnostic events are used to record certain system-level events (such as garbage collection, activity manager state, system watchdogs, and other low level activity), which may be automatically collected and analyzed during system development.
This is not the main "logcat" debugging log (Log
)!
These diagnostic events are for system integrators, not application authors.
Events use integer tag codes corresponding to /system/etc/event-log-tags. They carry a payload of one or more int, long, or String values. The event-log-tags file defines the payload contents for each type code.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
EventLog.Event | A previously logged event read from the logs. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Get the event type tag code associated with an event name.
| |||||||||||
Get the name associated with an event type tag code.
| |||||||||||
Read events from the log, filtered by type.
| |||||||||||
Record an event log message.
| |||||||||||
Record an event log message.
| |||||||||||
Record an event log message.
| |||||||||||
Record an event log message.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Get the event type tag code associated with an event name.
name | of event to look up |
---|
Get the name associated with an event type tag code.
tag | code to look up |
---|
Read events from the log, filtered by type.
tags | to search for |
---|---|
output | container to add events into |
IOException | if something goes wrong reading events |
---|
Record an event log message.
tag | The event type tag code |
---|---|
list | A list of values to log |
Record an event log message.
tag | The event type tag code |
---|---|
value | A value to log |
Record an event log message.
tag | The event type tag code |
---|---|
str | A value to log |
Record an event log message.
tag | The event type tag code |
---|---|
value | A value to log |