Moai SDK  1.5 revision 1 (MoaiEdition)
MOAICrittercismIOS Class Reference

Inherits MOAIGlobalClass< TYPE, SUPER >.

List of all members.

Function List

  init
  forceException
  leaveBreadcrumb
  setUser

Function Documentation

Forces a crash and crittercism report, can be used for internal errors or debugging crittercism.


function forceException ()
Returns:
nil

Initialize Crittercism.


function init ( string appId, string appKey, string appSecret )
Parameters:
appId ( string ) Available in Crittercism dashboard settings.
appKey ( string ) Available in Crittercism dashboard settings.
appSecret ( string ) Available in Crittercism dashboard settings.
Returns:
nil

Leave a breadcrumb (log statement) to trace execution.


function leaveBreadcrumb ( string breadcrumb )
Parameters:
breadcrumb ( string ) A string describing the code location.
Returns:
nil

Sets the username.


function setUser ( string username )
Parameters:
username ( string )
Returns:
nil