Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@ziki/es6-log

ziki18ISC1.0.4

@ziki/es6-log

readme

@ziki/es6-log

import '@ziki/es6-log'


let a = 'a'
a.log('我是A')
// output: ziki - 16:48:46:91 - String        - 我是A?

let b = 1
a.log('我是B')
// output: ziki - 16:48:46:91 - Number        - 我是B?


let c = function() {
    this.log('我是C')
}
c()
// output: ziki - 16:48:46:91 - Window        - 我是B?

class D {
    test() {
        this.log('我是D')
    }
}
new D().test()
// output: ziki - 16:48:46:91 - D        - 我是B?