function getAgent(params) { var agent = new Agent(params); agent.logger.conf({ logLevel: 'INTERNAL' }); agent.install(require.resolve('../_fistlabs_unit_asker')); return agent; }
function getAgent(params) { var app = new Core(params); app.logger.conf({ logLevel: 'SILENT' }); app.install(require.resolve('../_fistlabs_unit_serial')); return app; }
function getAgent(params) { var agent = new Agent(params); agent.logger.conf({ logLevel: 'INTERNAL', enabled: ['sip'], handlers: { sip: { layout: { record: { create: function () {} }, format: function () {} }, handle: function () {} } } }); agent.install(require.resolve('../_fistlabs_unit_asker')); return agent; }