docs: function writeLog(type, category){
      return function(messages) {
          var funcs = [];
  
          _.each(messages, function(message){
              funcs.push(this.client.logAsync(message, [type, category]));
          }.bind(this));
  
          return BB.all(funcs);
      };
  
  }