IBM Worklight v5.0.5 > API reference > IBM Worklight client-side API > JavaScript client-side API


Report user activity for auditing or reporting purposes.

WL server maintains a separate database table to store application statistics for each day of the week. The tables are named gadget_stat_n, where n is a number from 1 to 7 which identifies the day of the week.

WL.Client.logActivity adds a user-specified log line to the table. To store in the database, edit, and set...

Parameter Description
activityType A string that identifies the activity.

Return Value


Parent JavaScript client-side API