Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | console: allow Object.prototype fields as labels | Julien Gilli | 2015-02-17 | 1 | -7/+34 |
| | | | | | | | | | | | | | | | | | | | | | | | | This is a backport of 6c3647c38d73f729ce85633a0440cd939d93dea2 from v0.12 to v0.10. Console.prototype.timeEnd() returns NaN if the timer label corresponds to a property on Object.prototype. In v0.12, this was fixed by using Object.create(null) to construct the _times object However, the version of V8 in the v0.10 branch makes this fix not work as expected. In v0.10, this commit changes the _times object into a array of objects of the form: { label: someLabel, time: staringWallClockTime } someLabel can thus be any string, including any string that represents any Object.prototype field. Fixes #9116. PR: #9215 PR-URL: https://github.com/joyent/node/pull/9215 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> | ||||
* | console: Support formatting options in trace() | isaacs | 2013-01-18 | 1 | -2/+2 |
| | | | | Fix #4589 | ||||
* | console: refactor the console module to be reusable | Nathan Rajlich | 2012-08-24 | 1 | -17/+48 |
| | | | | | | | So that multiple instances can be created pointing to different writable streams. This is needed for #3876. | ||||
* | console: throw when no such label exists in `console.timeEnd` | Maciej MaĆecki | 2012-04-29 | 1 | -1/+5 |
| | | | | Test included. | ||||
* | Fixes #1860. Remove process.writeError | Ryan Dahl | 2011-10-18 | 1 | -2/+1 |
| | | | | Breaks a few tests in "make test-message" | ||||
* | Remove tty_legacy | Ryan Dahl | 2011-10-11 | 1 | -1/+1 |
| | |||||
* | util: add sprintf-like format() function | Ben Noordhuis | 2011-07-30 | 1 | -40/+4 |
| | | | | Fixes #1407. | ||||
* | Update copyright headers | Ryan Dahl | 2011-03-14 | 1 | -0/+21 |
| | |||||
* | Another fix for process.assert | Ryan Dahl | 2011-01-27 | 1 | -1/+1 |
| | |||||
* | use util.inspect to format objects and arrays printed to the console | Sami Samhuri | 2010-12-30 | 1 | -5/+11 |
| | |||||
* | more lint | Ryan Dahl | 2010-12-01 | 1 | -10/+10 |
| | |||||
* | Lazy load console object | Ryan Dahl | 2010-11-30 | 1 | -0/+83 |