src/locators/controlLocator.js
/**
 * Control locator
 * @param {object} logger optional logger object with methods: debug, info, error, trace. if not defined, no logs will be produced
 * @public
 */
Control locator
@param {object} logger optional logger object with methods: debug, info, error, trace. if not defined, no logs will be produced
@public
Control locator @param { object } logger optional logger object with methods : debug info error trace . if not defined no logs will be produced @public
function ControlLocator(config, instanceConfig, logger, collector) {
  this.logger = _.extend({
    debug: _.noop,
    info: _.noop,
    error: _.noop,
    trace: _.noop
  }, logger);
  this.collector = collector;
}
function ControlLocator ( config , instanceConfig , logger , collector ) { this . logger = _ . extend ( { debug : _ . noop , info : _ . noop , error : _ . noop , trace : _ . noop } , logger ) ; this . collector = collector ; }
Control locator
 @param {object} logger optional logger object with methods: debug, info, error, trace.
Control locator @param { object } logger optional logger object with methods : debug info error trace .