Lines Matching refs:logging
41 import java.util.logging.Handler;
42 import java.util.logging.LogManager;
43 import java.util.logging.LogRecord;
45 import java.util.logging.Logger;
46 import sun.util.logging.PlatformLogger;
47 import sun.util.logging.internal.LoggingProviderImpl;
53 * @modules java.base/sun.util.logging java.logging/sun.util.logging.internal
89 java.util.logging.Level level;
137 java.util.logging.Level level, ResourceBundle bundle,
147 java.util.logging.Level level, ResourceBundle bundle,
164 static final java.util.logging.Level[] julLevels = {
165 java.util.logging.Level.ALL,
166 new java.util.logging.Level("FINER_THAN_FINEST", java.util.logging.Level.FINEST.intValue() - 10) {},
167 java.util.logging.Level.FINEST,
168 new java.util.logging.Level("FINER_THAN_FINER", java.util.logging.Level.FINER.intValue() - 10) {},
169 java.util.logging.Level.FINER,
170 new java.util.logging.Level("FINER_THAN_FINE", java.util.logging.Level.FINE.intValue() - 10) {},
171 java.util.logging.Level.FINE,
172 new java.util.logging.Level("FINER_THAN_CONFIG", java.util.logging.Level.FINE.intValue() + 10) {},
173 java.util.logging.Level.CONFIG,
174 new java.util.logging.Level("FINER_THAN_INFO", java.util.logging.Level.INFO.intValue() - 10) {},
175 java.util.logging.Level.INFO,
176 new java.util.logging.Level("FINER_THAN_WARNING", java.util.logging.Level.INFO.intValue() + 10) {},
177 java.util.logging.Level.WARNING,
178 new java.util.logging.Level("FINER_THAN_SEVERE", java.util.logging.Level.SEVERE.intValue() - 10) {},
179 java.util.logging.Level.SEVERE,
180 new java.util.logging.Level("FATAL", java.util.logging.Level.SEVERE.intValue() + 10) {},
181 java.util.logging.Level.OFF,
184 static final java.util.logging.Level[] julPlatformLevels = {
185 java.util.logging.Level.FINEST,
186 java.util.logging.Level.FINER,
187 java.util.logging.Level.FINE,
188 java.util.logging.Level.CONFIG,
189 java.util.logging.Level.INFO,
190 java.util.logging.Level.WARNING,
191 java.util.logging.Level.SEVERE,
217 public java.util.logging.Level getLevel() {
218 return java.util.logging.Level.ALL;
246 java.util.logging.Logger appSink = LoggingProviderImpl.getLogManagerAccess()
249 java.util.logging.Logger sysSink = LoggingProviderImpl.getLogManagerAccess()
251 java.util.logging.Logger sink = Logger.getLogger("foo");
274 java.util.logging.Logger appSink, java.util.logging.Logger sysSink) throws Exception {
327 static void setLevel(java.util.logging.Logger sink, java.util.logging.Level loggerLevel) {
344 java.util.logging.Logger sink) throws Exception {
347 final java.util.logging.Level OFF = java.util.logging.Level.OFF;
352 for (java.util.logging.Level loggerLevel : julLevels) {
354 for (java.util.logging.Level messageLevel : julPlatformLevels) {
364 if (messageLevel == java.util.logging.Level.FINEST) {
367 } else if (messageLevel == java.util.logging.Level.FINER) {
370 } else if (messageLevel == java.util.logging.Level.FINE) {
373 } else if (messageLevel == java.util.logging.Level.CONFIG) {
376 } else if (messageLevel == java.util.logging.Level.INFO) {
379 } else if (messageLevel == java.util.logging.Level.WARNING) {
382 } else if (messageLevel == java.util.logging.Level.SEVERE) {
391 for (java.util.logging.Level loggerLevel : julLevels) {
393 for (java.util.logging.Level messageLevel :julPlatformLevels) {
403 if (messageLevel == java.util.logging.Level.FINEST) {
406 } else if (messageLevel == java.util.logging.Level.FINER) {
409 } else if (messageLevel == java.util.logging.Level.FINE) {
412 } else if (messageLevel == java.util.logging.Level.CONFIG) {
415 } else if (messageLevel == java.util.logging.Level.INFO) {
418 } else if (messageLevel == java.util.logging.Level.WARNING) {
421 } else if (messageLevel == java.util.logging.Level.SEVERE) {
432 for (java.util.logging.Level loggerLevel : julLevels) {
434 for (java.util.logging.Level messageLevel : julPlatformLevels) {
444 if (messageLevel == java.util.logging.Level.FINEST) {
447 } else if (messageLevel == java.util.logging.Level.FINER) {
450 } else if (messageLevel == java.util.logging.Level.FINE) {
453 } else if (messageLevel == java.util.logging.Level.CONFIG) {
456 } else if (messageLevel == java.util.logging.Level.INFO) {
459 } else if (messageLevel == java.util.logging.Level.WARNING) {
462 } else if (messageLevel == java.util.logging.Level.SEVERE) {