KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > j2me > util > logging > Level


1 /*
2  * Javolution - Java(TM) Solution for Real-Time and Embedded Systems
3  * Copyright (C) 2005 - Javolution (http://javolution.org/)
4  * All rights reserved.
5  *
6  * Permission to use, copy, modify, and distribute this software is
7  * freely granted, provided that this notice is preserved.
8  */

9 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     private Level(int value) {
33         _value = value;
34     }
35     public final int intValue() {
36         return _value;
37     }
38
39     public void setLevel(Level newLevel) throws SecurityException JavaDoc {
40         
41     }
42 }
43
Popular Tags