documentation

Documentation generator: JsDoc Toolkit 2.4.0
Template: Wink 1.0
Generated on:

Namespace wink.error

Error management system

Namespace Summary
Constructor Attributes Constructor Name and Description
 
Compatibility
Compatibility list Supported platforms / browsers
iOS2, iOS3, iOS4, iOS5, iOS6, Android 1.1, Android 1.5, Android 2.1, Android 2.2, Android 2.3, Android 3.0, Android 3.1, Android 4.0, BlackBerry 6, BlackBerry 7, Bada 1.0, Windows Phone 7.5, Windows Phone 8

Method Summary

Namespace Detail

wink.error
wink.error.logLevel = 1;
wink.log('this is a log');
See:
Test page

Field Detail

<static> {integer} wink.error.logLevel
The current log level. If set to 0, no message will be displayed. If set to 1, the log messages will be displayed.
Default Value:
0

Method Detail

  • <static> wink.error.log(value)
    Display a log message if the log level has been set to 1. If the console is defined, use the console, otherwise, alert the user
    Parameters:
    {string} value
    The content of the log