node-logger icon indicating copy to clipboard operation
node-logger copied to clipboard

A rewrite in typescript.

Open tinnick opened this issue 5 years ago • 0 comments

I rewrote the source in typescript. Please check and see if there are any problems in the code.

Deprecated module "sys" is replace with "util".

I could not find a way to implement:

levels.forEach(level => {
    this.prototype[level] = function() {
        ... // more code here
    }
})

in typescript so I used Object.assign in the constrcutor.

tinnick avatar Apr 29 '20 09:04 tinnick