incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <>
Subject [jira] [Commented] (CB-611) Logging levels
Date Tue, 01 May 2012 18:02:49 GMT


Shazron Abdullah commented on CB-611:

Unofficially, in iOS there is already different logging levels:

console.warn, console.error, console.log.

To set the log level, you would set this somewhere in your code to one of these levels:

> Logging levels
> --------------
>                 Key: CB-611
>                 URL:
>             Project: Apache Callback
>          Issue Type: Improvement
>          Components: iOS
>    Affects Versions: Master
>         Environment: Run Cordova/PhoneGap with Cordova-SQLitePlugin and some other plugins
>            Reporter: Chris Brody
>            Assignee: Shazron Abdullah
>   Original Estimate: 48h
>  Remaining Estimate: 48h
> I got a pull request on my Cordova-SQLitePlugin with a special logging function that
is only logging when built as a debug version. I believe this issue should be solved in the
core with a log function that is only logging when built as a debug version. Ideally a logging
facility with multiple log levels. Please forgive me if this has already been done somewhere.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message