nl_tokens: initialize Winston logging mechanism from config ( JSON ) object each logger can be accessed via winston . loggers . get ( NAME ) in all modules running in this nodejs app
pl_tokens: function fromJson ( winstonConf , callback ) { if ( _isEmpty ( winstonConf ) ) { <mask> ( new Error ( 'Empty winston configuration' ) , winston ) ; return ; } configLogger ( winstonConf ) ; callback ( null , winston ) ; }