diff -r 4d198a32ac7d -r d4809db37847 plugins/org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-F003B7DD-E450-49AD-B447-C5132FE47D3C.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/plugins/org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-F003B7DD-E450-49AD-B447-C5132FE47D3C.html Thu Aug 19 17:48:04 2010 -0700 @@ -0,0 +1,38 @@ + + +JavaScript Logging +Service API

JavaScript Logging +Service API

+

The Logging service API +is supported since WRT 1.1.

+

The Logging Service API allows widgets to add, read, and +delete logging events such as call logs, messaging logs, and so forth. The +API is integrated into WRT through the device object.

+

For an overview of the service and the API, see section Accessing device logs.

+

Using the Logging Service API

+

To use the Logging Service API, your widget must first create a service object for it +using the device.getServiceObject() method. +Use Service.Logging to identify the service provider +and IDataSource to identify the supported interface:

+
var so = device.getServiceObject("Service.Logging", "IDataSource");
+

This service object can then be used to access the services provided +by the API:

+ +
+

Emulator support

+

The S60 5th Edition SDK emulator provides full support for the Logging +Service API.

+
+
\ No newline at end of file