[TIMOB-11619] Android: Ti.API: console logging calls with no arg do not print at all
GitHub Issue | n/a |
---|---|
Type | Sub-task |
Priority | Low |
Status | Open |
Resolution | Unresolved |
Affected Version/s | Release 2.1.3, Release 3.0.0 |
Fix Version/s | n/a |
Components | Android |
Labels | cb-tooling, parity, qe-and100112 |
Reporter | Dustin Hyde |
Assignee | Unknown |
Created | 2012-10-31T00:30:12.000+0000 |
Updated | 2018-02-28T20:03:56.000+0000 |
Description
Android: Ti.API: console logging calls with no arg do not print at all.
This does not occur in MobileWeb or iOS. This is a parity issue.
This also is an inconsistency within the Android platform, as console object logging functions and Ti.API.log functions with one arg print to console correctly.
Steps to Reproduce:
1. Run code:
/* console */
Ti.API.info('console object output:');
console.log();
console.debug();
console.info();
console.warn();
console.error();
/* Ti.API */
Ti.API.info('Ti.API output:');
Ti.API.trace();
Ti.API.debug();
Ti.API.info();
Ti.API.warn();
Ti.API.error();
Actual Result:
[INFO][TiAPI ( 414)] console object output:
[INFO][TiAPI ( 414)]
[INFO][TiAPI ( 414)]
[WARN][TiAPI ( 414)]
[ERROR][TiAPI ( 414)]
[INFO][TiAPI ( 414)] Ti.API output:
Notice the lack of output after Ti.API.
Expected Result:
All Ti.API calls should log to console.
Confirmed with Titanium SDK master (6.1.0).