Lines Matching refs:Logger

44 import java.lang.System.Logger;
45 import java.lang.System.Logger.Level;
57 * particular the implementation of the the System.Logger method
181 static void setLevel(java.util.logging.Logger sink, java.util.logging.Level loggerLevel) {
252 * which implements System.Logger will be skipped when looking for
255 static class CustomLoggerWrapper implements Logger {
257 Logger impl;
258 public CustomLoggerWrapper(Logger logger) {
310 Logger.super.log(level, splr, thrwbl);
322 * that code which use reflection to call System.Logger will be skipped
325 static class ReflectionLoggerWrapper implements Logger {
327 Logger impl;
328 public ReflectionLoggerWrapper(Logger logger) {
354 invoke(System.Logger.class.getMethod(
365 invoke(System.Logger.class.getMethod(
376 invoke(System.Logger.class.getMethod(
387 invoke(System.Logger.class.getMethod(
398 invoke(System.Logger.class.getMethod(
488 public static void test(Function<Logger, Logger> wrapper, boolean hasRequiredPermissions) {
491 final Map<Logger, String> loggerDescMap = new HashMap<>();
497 Logger sysLogger1 = null;
511 Logger appLogger1 = wrapper.apply(System.getLogger("foo"));
521 Logger appLogger2 = wrapper.apply(
525 Logger sysLogger2 = null;
542 final java.util.logging.Logger sink;
543 final java.util.logging.Logger appSink;
544 final java.util.logging.Logger sysSink;
550 appSink = java.util.logging.Logger.getLogger("foo");
552 sink = java.util.logging.Logger.getLogger("foo");
587 // Calls the 8 methods defined on Logger and verify the
591 Map<Logger, String> loggerDescMap,
594 Logger logger,
595 java.util.logging.Logger sink) {