index.js
function logError(filePath, ctx) {
		if (isErrorLogActive) {
			ctx.emit('log', {
				msg: HEADER_NOT_PRESENT,
				path: filePath
			});
			gutil.log(gutil.colors.red(HEADER_NOT_PRESENT), filePath);
		}
	}
function logError(filePath, ctx) {
		if (isErrorLogActive) {
			ctx.emit('log', {
				msg: HEADER_NOT_PRESENT,
				path: filePath
			});
			gutil.log(gutil.colors.red(HEADER_NOT_PRESENT), filePath);
		}
	}
function logError ( filePath , ctx ) { if ( isErrorLogActive ) { ctx . emit ( 'log' , { msg : HEADER_NOT_PRESENT , path : filePath } ) ; gutil . log ( gutil . colors . red ( HEADER_NOT_PRESENT ) , filePath ) ; } }
Log error.

@param {string} filePath - file Path.
@param {object} ctx - context.
Log error .