Package com.emc.vipr.model.sys.logging

Examples of com.emc.vipr.model.sys.logging.LogLevels$LogLevel


/*     */   private void processLogLevelColors(Map logLevelMenuItems, Map logLevelColors, StringBuffer xml) {
/* 374 */     xml.append("\t<loglevelcolors>\r\n");
/*     */
/* 376 */     Iterator it = logLevelMenuItems.keySet().iterator();
/* 377 */     while (it.hasNext()) {
/* 378 */       LogLevel level = (LogLevel)it.next();
/*     */
/* 380 */       Color color = (Color)logLevelColors.get(level);
/* 381 */       exportLogLevelColorXMLElement(level.getLabel(), color, xml);
/*     */     }
/*     */
/* 384 */     xml.append("\t</loglevelcolors>\r\n");
/*     */   }
View Full Code Here


/*  776 */     return result;
/*      */   }
/*      */
/*      */   protected JMenuItem createSubMenuItem(LogLevel level) {
/*  780 */     JMenuItem result = new JMenuItem(level.toString());
/*  781 */     LogLevel logLevel = level;
/*  782 */     result.setMnemonic(level.toString().charAt(0));
/*  783 */     result.addActionListener(new ActionListener(result, logLevel) { private final JMenuItem val$result;
/*      */       private final LogLevel val$logLevel;
/*      */
/*  785 */       public void actionPerformed(ActionEvent e) { LogBrokerMonitor.this.showLogLevelColorChangeDialog(this.val$result, this.val$logLevel);
View Full Code Here

/* 1337 */     result.setSelectedItem(this._leastSevereDisplayedLogLevel);
/*      */
/* 1339 */     result.addActionListener(new ActionListener() {
/*      */       public void actionPerformed(ActionEvent e) {
/* 1341 */         JComboBox box = (JComboBox)e.getSource();
/* 1342 */         LogLevel level = (LogLevel)box.getSelectedItem();
/* 1343 */         LogBrokerMonitor.this.setLeastSevereDisplayedLogLevel(level);
/*      */       }
/*      */     });
/* 1346 */     result.setMaximumSize(result.getPreferredSize());
/* 1347 */     return result;
View Full Code Here

        else if ( Priority.ERROR == priority )
            return LogLevel.ERROR;
        else if ( Priority.FATAL_ERROR == priority )
            return LogLevel.FATAL;
        else
            return new LogLevel( priority.getName(), priority.getValue() );
    }
View Full Code Here

        {
            return LogLevel.FATAL;
        }
        else
        {
            return new LogLevel( priority.getName(), priority.getValue() );
        }
    }
View Full Code Here

TOP

Related Classes of com.emc.vipr.model.sys.logging.LogLevels$LogLevel

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.