[TIMOB-12436] CLI: Log output should be padded so that output is aligned
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-01-30T19:03:59.000+0000 |
Affected Version/s | Release 3.0.0 |
Fix Version/s | Release 3.0.2, Release 3.1.0, 2013 Sprint 02 JS, 2013 Sprint 02 |
Components | CLI |
Labels | qe-port, qe-testadded |
Reporter | Chris Barber |
Assignee | Chris Barber |
Created | 2013-01-26T01:07:56.000+0000 |
Updated | 2013-09-30T11:09:05.000+0000 |
Description
When we output, text is only a single space apart from the label:
[INFO] hello
[DEBUG] world
And when we output JSON data, we really want it to line up.
titanium master pull request: https://github.com/appcelerator/titanium/pull/28
This is working fine for iOS but not for android. For android still padding is not working. Environment used for verification - Titanium SDK: 3.1.0.v20130129154205 Titanium SDK: 3.0.2.v20130129171611 Titanium Studio:3.0.2.201301251115 CLI version - 3.0.24 For android, below is the sample log with above builds- [INFO] Installing application on emulator [DEBUG] "/Volumes/Macintosh HD/Users/shyam.bhadauria/Docu
Android does not use the CLI console logging mechanism, so the padding is not supported on Android. If Android used the logging mechanism, it would be padded. So, marking this as fixed since this bug relates to the CLI logger, not the old logger used by Android.
Environment used for verification - Titanium SDK: 3.1.0.v20130129154205 Titanium SDK: 3.0.2.v20130129171611 Titanium Studio:3.0.2.201301251115