Persistentdata for beginners: Event Logger

Event Logger stores events that are created by a number of operating system clients (e.g. events for incoming text messages generated by the SMS stack). These events are later retrieved by applications so the user can see a history of the events that have occurred on their device.

The Symbian/S60 Log application uses Event Logger to show a list of recent calls, packet data and other chargeable connections.

Event Logger has a client-server architecture and uses a DBMS database to manage the event log. The Event Logger API has been supported since S60 2nd Edition. It was previously known as log engine (logeng).

Event Logger API

Event Logger clients should link to logwrap.lib and logcli.lib.

API Purpose
Abstract base class that defines common active object behaviour for event logger classes such as CLogViewRecent
Used by client code to perform simple actions on the log database like adding a new event
The API to retrieve events from the log and administer the log database
Base class for ECom plugin to resolve contact information from a phone number
Encapsulates the details of an event
Event type, e.g. call, packet data, SMS, LBS transmit location etc.
Specifies the conditions that events must satisfy to appear in a view
A collection of event view filters
Base class for log database views
A view of events that are duplicates of a specific event
A view of the event log
A view of recent events
Wrapper around the event logger provided for compatibility reasons
Allows a client to observe specific change events (event log cleared, view refresh required)
An interface to decouple Event Logger from the Contacts implementation
Allows a client to observe specific change events (event added/changed/deleted) within a given view
Encapsulates Log Engine configuration data, such as the maximum number of events the event log holds
Used to store SMS PDU (protocol description unit) info in event data

Further resources

Coming up next…

File Logger is the next component in the Persistentdata for beginners series. It provides a logging API for debugging and other purposes.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: