set level(value) {
    var index = Logger.LEVELS.indexOf(value);
    if (index == -1)
      throw new Error("Unknown logging level " + value);

    this.levelIndex = index;
  }
/**
   * Sets the log level which will be logged
   * @param {string} value
   */
Sets the log level which will be logged
@param {string} value
Sets the log level which will be logged @param { string } value
set level(value) {
    var index = Logger.LEVELS.indexOf(value);
    if (index == -1)
      throw new Error("Unknown logging level " + value);
    this.levelIndex = index;
  }
set level ( value ) { var index = Logger . LEVELS . indexOf ( value ) ; if ( index == - 1 ) throw new Error ( "Unknown logging level " + value ) ; this . levelIndex = index ; }
Sets the log level which will be logged
 @param {string} value
Sets the log level which will be logged @param { string } value