lib/index.js
function error(err) {
      this.log(`${chalk.red(`${err.name.toLowerCase()}:`)} ${err.message}`);
    }
function error(err) {
      this.log(`${chalk.red(`${err.name.toLowerCase()}:`)} ${err.message}`);
    }
function error ( err ) { this . log ( ` ${ chalk . red ( ` ${ err . name . toLowerCase ( ) } ` ) } ${ err . message } ` ) ; }
Log plugin error
Log plugin error