index.js
function log(message, level) {
    var prefix = "[" + colors.cyan("gulp-tslint") + "]";
    if (level === "error") {
        fancyLog(prefix, colors.red("error"), message);
    }
    else {
        fancyLog(prefix, message);
    }
}
function log(message, level) {
    var prefix = "[" + colors.cyan("gulp-tslint") + "]";
    if (level === "error") {
        fancyLog(prefix, colors.red("error"), message);
    }
    else {
        fancyLog(prefix, message);
    }
}
function log ( message , level ) { var prefix = "[" + colors . cyan ( "gulp-tslint" ) + "]" ; if ( level === "error" ) { fancyLog ( prefix , colors . red ( "error" ) , message ) ; } else { fancyLog ( prefix , message ) ; } }
Log an event or error using gutil.log.
@param {string} message the log message.
@param {string} level can be "error". Optional.
Leave empty for the default logging type.
Log an event or error using gutil . log .