Home
last modified time | relevance | path

Searched refs:getLogger (Results 1 – 19 of 19) 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
DLogManager.java369 Logger result = getLogger(name); in demandLogger()
391 result = getLogger(name); in demandLogger()
414 logger = getLogger(name); in demandSystemLogger()
999 public Logger getLogger(String name) { in getLogger() method in LogManager
DLogger.java380 public static Logger getLogger(String name) { in getLogger() method in Logger
440 public static Logger getLogger(String name, String resourceBundleName) { in getLogger() method in Logger
538 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.java198 public static synchronized PlatformLogger getLogger(String name) { in getLogger() method in PlatformLogger
636 this.javaLogger = LoggingSupport.getLogger(name); in JavaLoggerProxy()
/libcore/ojluni/src/main/java/sun/net/www/http/
DHttpCapture.java118 PlatformLogger.getLogger(HttpCapture.class.getName()).severe(null, ex); in HttpCapture()
/libcore/ojluni/src/main/java/java/net/
DCookieManager.java262 PlatformLogger logger = PlatformLogger.getLogger("java.net.CookieManager"); in put()
/libcore/ojluni/src/main/java/java/util/jar/
DAttributes.java423 PlatformLogger.getLogger("java.util.jar").warning( in read()
/libcore/ojluni/src/main/java/sun/util/
DLocaleServiceProviderPool.java144 PlatformLogger logger = PlatformLogger.getLogger("sun.util.LocaleServiceProviderPool"); in config()
/libcore/support/src/test/java/tests/http/
DMockWebServer.java65 private static final Logger logger = Logger.getLogger(MockWebServer.class.getName());
/libcore/ojluni/src/main/java/sun/net/ftp/impl/
DFtpClient.java57 PlatformLogger.getLogger("sun.net.ftp.FtpClient");
/libcore/ojluni/src/main/java/sun/net/www/protocol/http/
DHttpURLConnection.java374 PlatformLogger.getLogger("sun.net.www.protocol.http.HttpURLConnection");