Home
last modified time | relevance | path

Searched refs:getLogger (Results 1 – 18 of 18) sorted by relevance

/libcore/luni/src/test/java/libcore/java/util/logging/
DOldLoggerTest.java49 assertNull(LogManager.getLogManager().getLogger( in testGetLoggerWithRes_InvalidResourceBundle()
52 assertNotNull(LogManager.getLogManager().getLogger("")); in testGetLoggerWithRes_InvalidResourceBundle()
55 Logger.getLogger("", INVALID_RESOURCE_BUNDLE); in testGetLoggerWithRes_InvalidResourceBundle()
70 assertSame(Logger.global, Logger.getLogger("global")); in testGlobalLogger()
71 assertSame(Logger.global, LogManager.getLogManager().getLogger("global")); in testGlobalLogger()
125 Logger.getLogger(null, null); in testGetLogger_Null()
132 assertNull(LogManager.getLogManager().getLogger( in testGetLogger_WithParent()
136 Logger root = Logger.getLogger(""); in testGetLogger_WithParent()
138 Logger pLog = Logger.getLogger("testGetLogger_WithParent_ParentLogger", in testGetLogger_WithParent()
149 assertNull(LogManager.getLogManager().getLogger( in testGetLogger_WithParent()
[all …]
DOldLogManagerTest.java96 Logger foo = mockManager.getLogger(FOO); in testGetLogger()
99 foo = mockManager.getLogger(FOO); in testGetLogger()
105 mockManager.getLogger(null); in testGetLogger()
112 .getLogger("bad name")); in testGetLogger()
135 assertSame(foo2, mockManager.getLogger(FOO)); in testGetLogger_duplicateName()
137 assertSame(foo2, mockManager.getLogger(FOO)); in testGetLogger_duplicateName()
156 assertSame(manager.getLogger(""), manager.getLogger("testGetLogger_hierachy.foo") in testGetLogger_hierarchy()
174 assertSame(foo, mockManager.getLogger(FOO)); in testGetLogger_nameSpace()
175 assertSame(fooBeforeSpace, mockManager.getLogger(FOO + " ")); in testGetLogger_nameSpace()
176 assertSame(fooAfterSpace, mockManager.getLogger(" " + FOO)); in testGetLogger_nameSpace()
[all …]
/libcore/ojluni/src/main/java/java/util/prefs/
DFileSystemPreferences.java59 private static PlatformLogger getLogger() { in getLogger() method in FileSystemPreferences
60 return PlatformLogger.getLogger("java.util.prefs"); in getLogger()
108 getLogger().warning("Could not change permissions" + in setupUserRoot()
111 getLogger().info("Created user preferences directory."); in setupUserRoot()
114 getLogger().warning("Couldn't create user preferences" + in setupUserRoot()
130 getLogger().warning("Problem creating userRoot " + in setupUserRoot()
135 getLogger().warning(e.toString()); in setupUserRoot()
173 getLogger().info( in setupSystemRoot()
182 getLogger().warning("Could not create " in setupSystemRoot()
199 getLogger().warning("Chmod failed on " + in setupSystemRoot()
[all …]
/libcore/ojluni/src/main/java/java/util/logging/
DLogging.java69 Logger l = logManager.getLogger(loggerName); in getLoggerLevel()
87 Logger logger = logManager.getLogger(loggerName); in setLoggerLevel()
106 Logger l = logManager.getLogger( loggerName ); in getParentLoggerName()
DLoggingProxyImpl.java39 public Object getLogger(String name) { in getLogger() method in LoggingProxyImpl
DLogger.java491 public static Logger getLogger(String name) { in getLogger() method in Logger
551 public static Logger getLogger(String name, String resourceBundleName) { in getLogger() method in Logger
643 Logger root = manager.getLogger(""); in getAnonymousLogger()
/libcore/ojluni/src/main/java/java/util/
DTripwire.java67 PlatformLogger.getLogger(trippingClass.getName()).warning(msg, trippingClass.getName()); in trip()
/libcore/ojluni/src/main/java/java/util/stream/
DTripwire.java67 PlatformLogger.getLogger(trippingClass.getName()).warning(msg, trippingClass.getName()); in trip()
/libcore/ojluni/src/main/java/sun/util/logging/
DLoggingSupport.java98 public static Object getLogger(String name) { in getLogger() method in LoggingSupport
100 return proxy.getLogger(name); in getLogger()
DLoggingProxy.java36 public Object getLogger(String name); in getLogger() method
DPlatformLogger.java193 public static synchronized PlatformLogger getLogger(String name) { in getLogger() method in PlatformLogger
608 this.javaLogger = LoggingSupport.getLogger(name); in JavaLoggerProxy()
/libcore/ojluni/src/main/java/java/time/chrono/
DHijrahChronology.java315 PlatformLogger logger = PlatformLogger.getLogger("java.time.chrono");
342 PlatformLogger logger = PlatformLogger.getLogger("java.time.chrono"); in registerVariants()
968 PlatformLogger logger = PlatformLogger.getLogger("java.time.chrono"); in loadCalendarData()
DAbstractChronology.java232 PlatformLogger logger = PlatformLogger.getLogger("java.time.chrono"); in initCache()
/libcore/ojluni/src/main/java/java/net/
DCookieManager.java279 PlatformLogger logger = PlatformLogger.getLogger("java.net.CookieManager"); in put()
/libcore/ojluni/annotations/hiddenapi/java/util/logging/
DLogger.java75 public static java.util.logging.Logger getLogger(java.lang.String name) { in getLogger() method in Logger
79 public static java.util.logging.Logger getLogger( in getLogger() method in Logger
DLogManager.java121 public java.util.logging.Logger getLogger(java.lang.String name) { in getLogger() method in LogManager
/libcore/ojluni/annotations/sdk/nullability/java/util/logging/
DLogger.annotated.java42 @libcore.util.NonNull public static java.util.logging.Logger getLogger(@libcore.util.NonNull java.l… in getLogger() method in Logger
44 @libcore.util.NonNull public static java.util.logging.Logger getLogger(@libcore.util.NonNull java.l… in getLogger() method in Logger
/libcore/ojluni/src/main/java/java/util/jar/
DAttributes.java422 PlatformLogger.getLogger("java.util.jar").warning( in read()