const log = require('log') log.info('I\'m some information') log.error('You did something that wrong') // alternative log('info', 'write type inside', 'is ok', 'too')
相关链接: GitHub | NPM
typo: it should be const log = require('typelog')
const log = require('typelog')