23 * questions. 24 */ 25 26 package java.util.logging; 27 28 import java.lang.ref.Reference; 29 import java.lang.ref.ReferenceQueue; 30 import java.lang.ref.WeakReference; 31 import java.security.AccessController; 32 import java.security.PrivilegedAction; 33 import java.util.ArrayList; 34 import java.util.Collections; 35 import java.util.HashMap; 36 import java.util.List; 37 import java.util.Locale; 38 import java.util.Map; 39 import java.util.Optional; 40 import java.util.ResourceBundle; 41 import java.util.function.Function; 42 import jdk.internal.loader.ClassLoaderValue; 43 import jdk.internal.misc.JavaUtilResourceBundleAccess; 44 import jdk.internal.misc.SharedSecrets; 45 46 /** 47 * The Level class defines a set of standard logging levels that 48 * can be used to control logging output. The logging Level objects 49 * are ordered and are specified by ordered integers. Enabling logging 50 * at a given level also enables logging at all higher levels. 51 * <p> 52 * Clients should normally use the predefined Level constants such 53 * as Level.SEVERE. 54 * <p> 55 * The levels in descending order are: 56 * <ul> 57 * <li>SEVERE (highest value) 58 * <li>WARNING 59 * <li>INFO 60 * <li>CONFIG 61 * <li>FINE 62 * <li>FINER 63 * <li>FINEST (lowest value) 64 * </ul> | 23 * questions. 24 */ 25 26 package java.util.logging; 27 28 import java.lang.ref.Reference; 29 import java.lang.ref.ReferenceQueue; 30 import java.lang.ref.WeakReference; 31 import java.security.AccessController; 32 import java.security.PrivilegedAction; 33 import java.util.ArrayList; 34 import java.util.Collections; 35 import java.util.HashMap; 36 import java.util.List; 37 import java.util.Locale; 38 import java.util.Map; 39 import java.util.Optional; 40 import java.util.ResourceBundle; 41 import java.util.function.Function; 42 import jdk.internal.loader.ClassLoaderValue; 43 import jdk.internal.access.JavaUtilResourceBundleAccess; 44 import jdk.internal.access.SharedSecrets; 45 46 /** 47 * The Level class defines a set of standard logging levels that 48 * can be used to control logging output. The logging Level objects 49 * are ordered and are specified by ordered integers. Enabling logging 50 * at a given level also enables logging at all higher levels. 51 * <p> 52 * Clients should normally use the predefined Level constants such 53 * as Level.SEVERE. 54 * <p> 55 * The levels in descending order are: 56 * <ul> 57 * <li>SEVERE (highest value) 58 * <li>WARNING 59 * <li>INFO 60 * <li>CONFIG 61 * <li>FINE 62 * <li>FINER 63 * <li>FINEST (lowest value) 64 * </ul> |