×
Namespaces

Variants
Actions

Talk:WRT Widget Logging Example

From Nokia Developer Wiki
Jump to: navigation, search
{{{width}}}
30 Sep
2009
Article Review by Larry101 (20090930)

This article demonstrates how to integrate logging functionality into WRT widgets through the use of Yahoo's YUI logger. The article primarily consists of a fairly simple code example showing how to integrate the logger into your own WRT widget. The code examples demonstrate how to link to the YUI logger stylesheet and JavaScript files, either locally (if you download and save them), or via their URL. A code snippit is also provided to demonstrate how to perform logging via JavaScript. Finally, the code of the html page demonstrating the use of the JavaScript logging function is provided.

The YUI logging component can be used for a variety of purposes, not least of which is debugging. Alternatively, it can be useful for tracking user activity.


 
×