logdown-print-method-name
v1.0.1
Published
Print used logdown method name along with message
Downloads
4
Readme
logdown-print-method-name
Installation
npm install --save logdown-print-method-name
Usage
const logdown = require('logdown')
const printMethodName = require('logdown-print-method-name')
const logger = printMethodName(logdown('foo'))
logger.log('lorem')
logger.warn('lorem')
Example here.
caiogondim.com · GitHub @caiogondim · Twitter @caio_gondim