1 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 { 40 41 } 42 } 43 | Popular Tags |