Lines Matching defs:logger
32 * logger (see the subclassing information in the Logger class specification)
44 Logger logger = Logger.getLogger(SimpleLogManager.class.getName());
47 // a platform logger used by the system code is just a Logger instance.
48 PlatformLogger.getLogger("org.openjdk.core.logger");
57 checkCustomLogger("org.openjdk.core.logger", "sun.util.logging.resources.logging");
60 // ## that overrides the getLogger method to return a custom logger
68 if (logger instanceof CustomLogger) {
69 throw new RuntimeException(logger + " not CustomLogger");
87 * the given logger with a custom logger.
89 * It's unclear what the recommended way to use custom logger is.
91 * a custom Logger and create a new custom logger if not exist so that
95 public synchronized boolean addLogger(Logger logger) {
96 String name = logger.getName();
100 CustomLogger newLogger = new CustomLogger(logger);
106 CustomLogger(Logger logger) {
107 super(logger.getName(), logger.getResourceBundleName());