lib/logger.js
function logSASSError({ message, file, line, column }) {
  log(formatErrorMarker('SASS error'), ': ', ...formatLine(message, file, line, column));
}
function logSASSError({ message, file, line, column }) {
  log(formatErrorMarker('SASS error'), ': ', ...formatLine(message, file, line, column));
}
function logSASSError ( { message , file , line , column } ) { log ( formatErrorMarker ( 'SASS error' ) , ': ' , ... formatLine ( message , file , line , column ) ) ; }
Prints a Node SASS error object out to the console.

@memberof module:logger
@function logSASSError
@param {NodeSassError} error - error object
@example
import {logSASSError} from 'webcompiler';
// or - import {logSASSError} from 'webcompiler/lib/logger';
// or - var logSASSError = require('webcompiler').logSASSError;
// or - var logSASSError = require('webcompiler/lib/logger').logSASSError;
import {render} from 'node-sass';

render(..., (error, result) => {
if (error) {
return logSASSError(error);
}
...
});
Prints a Node SASS error object out to the console .