Beano
A Pino inspired logger for the browser
Open the browser console to see the results of running the logger!
Install
import logger from 'beano';
logger.info({groupByMessage: true}, 'look at me!')
Create a child logger
const childLogger = logger.child('my_module');
Pass messages to the child logger
childLogger.info({muyBeano: true}, 'is right');
Pass another message to the child logger
childLogger.debug('something doesnt seem right...');
Create a child logger from a child logger
const evenMoreChildrenLogger = childLogger.child('my_sub_module');
Pass messages to the double nested child logger
evenMoreChildrenLogger.info('im a double nested log message')