4 Commits

Author SHA1 Message Date
e-cloud
9f581f78c1 refactor: streams/*.js (test passed)
As class inheritance inside stream/*.js, standalone refactor don't work.
So streams/*.js are refactored in batch.
One thing worth mentioning is that, the old inherit-style will call the parent
constructor at the end of child constructor for some code initialization. However,
with ES6 class syntax, the call of `super` must be afore every statement with this.
So, some code initializing logic are reordered to suit the ES6 syntax and the tests.
2016-07-16 13:20:01 +08:00
Gareth Jones
97fc892c00 fixing some jshint errors 2016-04-29 09:11:17 +10:00
Gareth Jones
65e490cbd2 Fixes for version v0.10 streams, breaks log4js for older versions of node 2013-03-20 09:14:27 +11:00
Gareth Jones
be1272cd7c moved streams code around, added stub for DateRollingFileStream 2012-09-05 10:58:28 +10:00