A simple logger
npm i -S @zkochan/logger
const logger = require('@zkochan/logger')
logger.on('info', console.log.bind(console))
logger.log('info', 'some-type', 'Helo World!')
//> null 'info' 'some-type' 'Helo World!'
const forkedLogger = logger.fork({ foo: 'bar' })
forkedLogger.log('info', 'some-type', 'Helo World!', 1, 2, 3)
//> { foo: 'bar' } 'info' 'some-type' 'Helo World!' 1 2 3
MIT © Zoltan Kochan