01: /*
02: * Javolution - Java(TM) Solution for Real-Time and Embedded Systems
03: * Copyright (C) 2005 - Javolution (http://javolution.org/)
04: * All rights reserved.
05: *
06: * Permission to use, copy, modify, and distribute this software is
07: * freely granted, provided that this notice is preserved.
08: */
09: package j2me.util.logging;
10:
11: public class Level {
12:
13: public static final Level OFF = new Level(Integer.MAX_VALUE);
14:
15: public static final Level SEVERE = new Level(1000);
16:
17: public static final Level WARNING = new Level(900);
18:
19: public static final Level INFO = new Level(800);
20:
21: public static final Level CONFIG = new Level(700);
22:
23: public static final Level FINE = new Level(500);
24:
25: public static final Level FINER = new Level(400);
26:
27: public static final Level FINEST = new Level(300);
28:
29: public static final Level ALL = new Level(Integer.MIN_VALUE);
30:
31: int _value;
32:
33: private Level(int value) {
34: _value = value;
35: }
36:
37: public final int intValue() {
38: return _value;
39: }
40:
41: public void setLevel(Level newLevel) throws SecurityException {
42:
43: }
44: }
|