docs: function log(level, message, stackLevel) {
    //	util.log("log: " + level + " : " + message);		
    var index = log_types.indexOf(level);
    if (index <= log_level) {
  //    console.log( typeof message)
      if (typeof message !== 'string') {
        if( message instanceof Error) {
          message = message.toString();
        } else {
          message = JSON.stringify(message);
        }
      }
  
      if (index == 1) message = "*** " + message;
  
      if (__stack) {
        var ref = __stack[2];
        var line = ref.getLineNumber();
        var name = ref.getFileName().replace(process.cwd() + '/', '');
        message = "(" + name + ":" + line + "): " + message;
  
      }
  
      util.log(log_labels[index] + ' ' + message);
    }
  }