The logs offers generic access to the phone's log. Via logs's API it is possible to access, for example, the list of received calls or the list of sms received. At this stage, it is only possible to read logs.
All of the accessor functions return a list of dictionaries containing the log events. The first item on the list is the latest event.
Each dictionary has the following entries:
number: The (phone) number associated with the log event
description: A description of the event
direction: The direction associated with the event (i.e. whether incoming or outgoing)
status: Event status
id: The event's id
time: The time associated with the event as a unix timestamp.
The current log types are currently supported:
For those functions providing an optional mode parameter, the default mode is currently set to
'in'. mode can take one of the following values: