function formatArgs(args) {
    var useColors1 = this.useColors;
    args[0] = (useColors1 ? '%c' : '') + this.namespace + (useColors1 ? ' %c' : ' ') + args[0] + (useColors1 ? '%c ' : ' ') + '+' + exports.humanize(this.diff);
    if (!useColors1) return;
    var c = 'color: ' + this.color;
    args.splice(1, 0, c, 'color: inherit');
    // the final "%c" is somewhat tricky, because there could be other
    // arguments passed either before or after the %c, so we need to
    // figure out the correct index to insert the CSS into
    var index = 0;
    var lastC = 0;
    args[0].replace(/%[a-zA-Z%]/g, function(match) {
        if ('%%' === match) return;
        index++;
        if ('%c' === match) // we only are interested in the *last* %c
        // (the user may have provided their own)
        lastC = index;
    });
    args.splice(lastC, 0, c);
}
/**
 * Colorize log arguments if enabled.
 *
 * @api public
 */
Colorize log arguments if enabled.
@api public
Colorize log arguments if enabled . @api public
function formatArgs(args) {
    var useColors1 = this.useColors;
    args[0] = (useColors1 ? '%c' : '') + this.namespace + (useColors1 ? ' %c' : ' ') + args[0] + (useColors1 ? '%c ' : ' ') + '+' + exports.humanize(this.diff);
    if (!useColors1) return;
    var c = 'color: ' + this.color;
    args.splice(1, 0, c, 'color: inherit');
    var index = 0;
    var lastC = 0;
    args[0].replace(/%[a-zA-Z%]/g, function(match) {
        if ('%%' === match) return;
        index++;
        if ('%c' === match) 
        lastC = index;
    });
    args.splice(lastC, 0, c);
}
function formatArgs ( args ) { var useColors1 = this . useColors ; args [ 0 ] = ( useColors1 ? '%c' : '' ) + this . namespace + ( useColors1 ? ' %c' : ' ' ) + args [ 0 ] + ( useColors1 ? '%c ' : ' ' ) + '+' + exports . humanize ( this . diff ) ; if ( ! useColors1 ) return ; var c = 'color: ' + this . color ; args . splice ( 1 , 0 , c , 'color: inherit' ) ; var index = 0 ; var lastC = 0 ; args [ 0 ] . replace ( / %[a-zA-Z%] / g , function ( match ) { if ( '%%' === match ) return ; index ++ ; if ( '%c' === match ) lastC = index ; } ) ; args . splice ( lastC , 0 , c ) ; }
Colorize log arguments if enabled.
Colorize log arguments if enabled .
// the final "%c" is somewhat tricky, because there could be other // arguments passed either before or after the %c, so we need to // figure out the correct index to insert the CSS into // we only are interested in the *last* %c // (the user may have provided their own)