Namespace wink.error
Error management system
- Defined in: error.js
| Constructor Attributes | Constructor Name and Description |
|---|---|
| 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
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