lib/adapters/loggly.js
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);
    };

}
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);
    };

}
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 ) ; } ; }
Internal method to append our log entry to loggly.
@param type Type of entry (debug, info, error, warn, trace)
@param category User defined label for the entry
@returns {function}
Internal method to append our log entry to loggly .