Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27130] Windows: Support Node-compatible log formatting

GitHub Issuen/a
TypeImprovement
PriorityMedium
StatusClosed
ResolutionHold
Resolution Date2020-02-06T10:01:58.000+0000
Affected Version/sRelease 6.1.1
Fix Version/sn/a
ComponentsWindows
Labelsn/a
ReporterGary Mathews
AssigneeSamir Mohammed
Created2019-06-05T04:45:58.000+0000
Updated2020-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

Comments

  1. Kota Iguchi 2019-09-30

    An implementation of node's util.format for browsers: https://github.com/Xotic750/util-format-x
  2. Kota Iguchi 2019-09-30

    browserify: https://github.com/browserify/node-util/blob/master/util.js
  3. Kota Iguchi 2019-10-09

    https://github.com/appcelerator/titanium_mobile_windows/pull/1429
  4. Samir Mohammed 2019-11-25

    FR Passed, waiting on Jenkins build
  5. Samir Mohammed 2019-12-06

    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

JSON Source