[TIMOB-27130] Windows: Support Node-compatible log formatting
| GitHub Issue | n/a |
|---|---|
| Type | Improvement |
| Priority | Medium |
| Status | Closed |
| Resolution | Hold |
| Resolution Date | 2020-02-06T10:01:58.000+0000 |
| Affected Version/s | Release 6.1.1 |
| Fix Version/s | n/a |
| Components | Windows |
| Labels | n/a |
| Reporter | Gary Mathews |
| Assignee | Samir Mohammed |
| Created | 2019-06-05T04:45:58.000+0000 |
| Updated | 2020-02-06T10:02:03.000+0000 |
Description
- Log formatting is currently not supported on any platforms
- Our docs suggest our support is equivalent to node.js, which in this case is not true
console.log('%s', 'test'); // test
An implementation of node's util.format for browsers: https://github.com/Xotic750/util-format-x
browserify: https://github.com/browserify/node-util/blob/master/util.js
https://github.com/appcelerator/titanium_mobile_windows/pull/1429
FR Passed, waiting on Jenkins build
Closing ticket, improvement verified in SDK version 9.0.0.v20191204090836 Test and other information an be found at: https://github.com/appcelerator/titanium_mobile_windows/pull/1429