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

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