Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11613] MobileWeb: console: js logging functions do not log with any log level

GitHub Issuen/a
TypeSub-task
PriorityLow
StatusClosed
ResolutionWon't Fix
Resolution Date2017-06-29T18:47:56.000+0000
Affected Version/sRelease 2.1.3, Release 3.0.0
Fix Version/sn/a
ComponentsMobileWeb
Labelsqe-mw100112
ReporterDustin Hyde
AssigneeChris Barber
Created2012-10-30T22:57:37.000+0000
Updated2018-04-04T23:20:29.000+0000

Description

console functions do not log with any log level. This does not occur with Ti.API calls, and does not occur on iOS or Android. This is a parity issue. Steps to Reproduce: 1. Run code:
/* console */

console.log('console.log');
console.debug('console.debug');
console.info('console.info');
console.warn('console.warn');
console.error('console.error');

/* Ti.API */

Ti.API.trace('ti.api.trace');
Ti.API.debug('ti.api.debug');
Ti.API.info('ti.api.info');
Ti.API.warn('ti.api.warn');
Ti.API.error('ti.api.error');
Actual Result:
console.log app.js:3
console.debug app.js:4
console.info app.js:5
console.warn app.js:6
console.error app.js:7
[TRACE] ti.api.trace index.html:11221
[DEBUG] ti.api.debug index.html:11221
[INFO] ti.api.info index.html:11221
[WARN] ti.api.warn index.html:11221
[ERROR] ti.api.error index.html:11221
Note: Only the Ti.API calls are printed with a log level. Expected Result: All calls should be printed with a log level.

Comments

  1. Lee Morris 2017-06-29

    Resolving as "Won't Fix" as MobileWeb has been deprecated.
  2. Eric Merriman 2018-04-04

    Closing as will not fix.

JSON Source