docs: function initLogging (config) {
      // only create logger if custom logging enabled
      if (config.logger !== true) {
          return
      }
      // create new logger instance
      var logger = new winston.Logger()
      // add transport
      logger.add(winston.transports.Console, {
          formatter: winstonFormatter,
          level: 'info'
      });
      // make logger accessible
      config.logger = logger
      // override console.log function
      console.log = function () {
          logger.info.apply(logger, formatArgs(arguments))
      }
      // override console.info function
      console.info = function () {
          logger.info.apply(logger, formatArgs(arguments))
      }
      // override console.warn function
      console.warn = function () {
          logger.warn.apply(logger, formatArgs(arguments))
      }
      // override console.error function
      console.error = function () {
          logger.error.apply(logger, formatArgs(arguments))
      }
      // override console.debug function
      console.debug = function () {
          logger.debug.apply(logger, formatArgs(arguments))
      }
  }