code: function(str, debug, error) {
    var pre = '[' + new Date().toISOString() + '] ';
    //pre += (my.name ? '{' + my.name.toUpperCase() + '} ' : '');
    pre += (debug ? 'DEBUG: ' : '');
    str.toString().split('\n').forEach(function(line) {
      if(error)
        console.error(pre + line)
      else if(debug)
        console.log(pre + line);
      else 
        console.log(pre + line);
    });
  }
docs: *************************************************************************** /* LOGGING AND ERROR REPORTING ***************************************************************************