code: function(bs, data) {
          var uaString = utils.getUaString(data.ua);
          var msg = "{cyan:Browser Connected: {magenta:%s, version: %s}";
          var method = "info";
  
          if (!bs.options.get("logConnections")) {
              method = "debug";
          }
  
          logger.log(method, msg, uaString.name, uaString.version);
      }
docs: Client connected logging
  @param {BrowserSync} bs
  @param data