01: /**
02: * $Id: LogLevels.java,v 1.2 2005/07/28 04:10:22 sm140826 Exp $
03: * Copyright 2005 Sun Microsystems, Inc. All
04: * rights reserved. Use of this product is subject
05: * to license terms. Federal Acquisitions:
06: * Commercial Software -- Government Users
07: * Subject to Standard License Terms and
08: * Conditions.
09: *
10: * Sun, Sun Microsystems, the Sun logo, and Sun ONE
11: * are trademarks or registered trademarks of Sun Microsystems,
12: * Inc. in the United States and other countries.
13: */package com.sun.portal.admin.console.logging.data;
14:
15: import java.util.logging.Level;
16:
17: /**
18: * Gets levels
19: */
20: public class LogLevels {
21: private static final Level[] levels = new Level[] { Level.SEVERE,
22: Level.WARNING, Level.INFO, Level.CONFIG, Level.FINE,
23: Level.FINER, Level.FINEST, Level.OFF, Level.ALL };
24:
25: public static Level[] getLevels() {
26: return levels;
27: }
28: }
|