lib/config/index.js
function getParams(configFunc, configurator) {
    assert.optionalFunc(configurator, 'configurator');
    let config = configFunc();
    let loggerConfig = LoggerConfiguration(logger);
    if (configurator) {
      let configTarget = _.assign({}, config.getTarget(), loggerConfig.getTarget());
      configurator(configTarget);
    }
    return _.assign({}, config.getParams(), loggerConfig.getParams());
  }
function getParams(configFunc, configurator) {
    assert.optionalFunc(configurator, 'configurator');
    let config = configFunc();
    let loggerConfig = LoggerConfiguration(logger);
    if (configurator) {
      let configTarget = _.assign({}, config.getTarget(), loggerConfig.getTarget());
      configurator(configTarget);
    }
    return _.assign({}, config.getParams(), loggerConfig.getParams());
  }
function getParams ( configFunc , configurator ) { assert . optionalFunc ( configurator , 'configurator' ) ; let config = configFunc ( ) ; let loggerConfig = LoggerConfiguration ( logger ) ; if ( configurator ) { let configTarget = _ . assign ( { } , config . getTarget ( ) , loggerConfig . getTarget ( ) ) ; configurator ( configTarget ) ; } return _ . assign ( { } , config . getParams ( ) , loggerConfig . getParams ( ) ) ; }
Gets the parameters for the construction of the instance
@private
@param {Function} configFunc - the configuration function for the instance
@param {Function} configFunc - the configuration function for the instance
Gets the parameters for the construction of the instance