private Level descriptionToLogLevel(String description){
  Level result=Level.OFF;
  if (description.equals(s_logger.localizeMessage("guiLogLevelOff"))) {
    result=Level.OFF;
  }
 else   if (description.equals(s_logger.localizeMessage("guiLogLevelSevere"))) {
    result=Level.SEVERE;
  }
 else   if (description.equals(s_logger.localizeMessage("guiLogLevelWarning"))) {
    result=Level.WARNING;
  }
 else   if (description.equals(s_logger.localizeMessage("guiLogLevelInfo"))) {
    result=Level.INFO;
  }
 else   if (description.equals(s_logger.localizeMessage("guiLogLevelConfig"))) {
    result=Level.CONFIG;
  }
 else   if (description.equals(s_logger.localizeMessage("guiLogLevelFine"))) {
    result=Level.FINE;
  }
 else   if (description.equals(s_logger.localizeMessage("guiLogLevelFiner"))) {
    result=Level.FINER;
  }
 else   if (description.equals(s_logger.localizeMessage("guiLogLevelFinest"))) {
    result=Level.FINEST;
  }
 else   if (description.equals(s_logger.localizeMessage("guiLogLevelAll"))) {
    result=Level.ALL;
  }
  return result;
}

private Level descriptionToLogLevel ( String description ) { Level result = Level . OFF ; if ( description . equals ( s_logger . localizeMessage ( "guiLogLevelOff" ) ) ) { result = Level . OFF ; } else if ( description . equals ( s_logger . localizeMessage ( "guiLogLevelSevere" ) ) ) { result = Level . SEVERE ; } else if ( description . equals ( s_logger . localizeMessage ( "guiLogLevelWarning" ) ) ) { result = Level . WARNING ; } else if ( description . equals ( s_logger . localizeMessage ( "guiLogLevelInfo" ) ) ) { result = Level . INFO ; } else if ( description . equals ( s_logger . localizeMessage ( "guiLogLevelConfig" ) ) ) { result = Level . CONFIG ; } else if ( description . equals ( s_logger . localizeMessage ( "guiLogLevelFine" ) ) ) { result = Level . FINE ; } else if ( description . equals ( s_logger . localizeMessage ( "guiLogLevelFiner" ) ) ) { result = Level . FINER ; } else if ( description . equals ( s_logger . localizeMessage ( "guiLogLevelFinest" ) ) ) { result = Level . FINEST ; } else if ( description . equals ( s_logger . localizeMessage ( "guiLogLevelAll" ) ) ) { result = Level . ALL ; } return result ; }
convert localized descriptive text to log level
