src/index.js
function log(data) {
  if (type.isError(data)) {
    if (!data.handled) {
      _setHandled(data);
      _console.error(data);
    }
  }
  else {
    _console.log(_transform(data));
  }
  return data;
}
function log(data) {
  if (type.isError(data)) {
    if (!data.handled) {
      _setHandled(data);
      _console.error(data);
    }
  }
  else {
    _console.log(_transform(data));
  }
  return data;
}
function log ( data ) { if ( type . isError ( data ) ) { if ( ! data . handled ) { _setHandled ( data ) ; _console . error ( data ) ; } } else { _console . log ( _transform ( data ) ) ; } return data ; }
Logs error to the console and makes sure it is only logged once.
Logs error to the console and makes sure it is only logged once .