Home
last modified time | relevance | path

Searched refs:Logger (Results 1 – 14 of 14) sorted by relevance

/libcore/luni/src/test/java/libcore/java/util/logging/
DOldLoggerTest.java28 import java.util.logging.Logger;
55 Logger.getLogger("", INVALID_RESOURCE_BUNDLE); in testGetLoggerWithRes_InvalidResourceBundle()
62 assertNull(Logger.global.getFilter()); in testGlobalLogger()
63 assertEquals(0, Logger.global.getHandlers().length); in testGlobalLogger()
64 assertNull(Logger.global.getLevel()); in testGlobalLogger()
65 assertEquals("global", Logger.global.getName()); in testGlobalLogger()
66 assertNull(Logger.global.getParent().getParent()); in testGlobalLogger()
67 assertNull(Logger.global.getResourceBundle()); in testGlobalLogger()
68 assertNull(Logger.global.getResourceBundleName()); in testGlobalLogger()
69 assertTrue(Logger.global.getUseParentHandlers()); in testGlobalLogger()
[all …]
DOldLogManagerTest.java28 import java.util.logging.Logger;
95 Logger log = new MockLogger(FOO, null); in testGetLogger()
96 Logger foo = mockManager.getLogger(FOO); in testGetLogger()
132 Logger foo2 = new MockLogger(FOO, null); in testGetLogger_duplicateName()
133 Logger foo3 = new MockLogger(FOO, null); in testGetLogger_duplicateName()
153 Logger foo = new MockLogger("testGetLogger_hierachy.foo", null); in testGetLogger_hierarchy()
165 Logger foo = new MockLogger(FOO, null); in testGetLogger_nameSpace()
166 Logger fooBeforeSpace = new MockLogger(FOO + " ", null); in testGetLogger_nameSpace()
167 Logger fooAfterSpace = new MockLogger(" " + FOO, null); in testGetLogger_nameSpace()
168 Logger fooWithBothSpace = new MockLogger(" " + FOO + " ", null); in testGetLogger_nameSpace()
[all …]
/libcore/ojluni/annotations/hiddenapi/java/util/logging/
DLogManager.java82 java.util.logging.Logger demandLogger( in demandLogger()
87 java.util.logging.Logger demandSystemLogger( in demandSystemLogger()
98 java.util.logging.Logger logger, in loadLoggerHandlers()
108 public boolean addLogger(java.util.logging.Logger logger) { in addLogger()
112 private static void doSetLevel(java.util.logging.Logger logger, java.util.logging.Level level) { in doSetLevel()
117 java.util.logging.Logger logger, java.util.logging.Logger parent) { in doSetParent()
121 public java.util.logging.Logger getLogger(java.lang.String name) { in getLogger()
137 private void resetLogger(java.util.logging.Logger logger) { in resetLogger()
235 private final java.lang.ref.ReferenceQueue<java.util.logging.Logger> loggerRefQueue;
253 private volatile java.util.logging.Logger rootLogger;
[all …]
DLogger.java31 public class Logger { class
33 protected Logger(java.lang.String name, java.lang.String resourceBundleName) { in Logger() method in Logger
37 Logger( in Logger() method in Logger
46 private Logger(java.lang.String name) { in Logger() method in Logger
50 public static final java.util.logging.Logger getGlobal() { in getGlobal()
70 private static java.util.logging.Logger demandLogger( in demandLogger()
75 public static java.util.logging.Logger getLogger(java.lang.String name) { in getLogger()
79 public static java.util.logging.Logger getLogger( in getLogger()
84 static java.util.logging.Logger getPlatformLogger(java.lang.String name) { in getPlatformLogger()
88 public static java.util.logging.Logger getAnonymousLogger() { in getAnonymousLogger()
[all …]
/libcore/ojluni/src/main/java/java/util/logging/
DLoggingProxyImpl.java41 return Logger.getPlatformLogger(name); in getLogger()
46 return ((Logger) logger).getLevel(); in getLevel()
51 ((Logger) logger).setLevel((Level) newLevel); in setLevel()
56 return ((Logger) logger).isLoggable((Level) level); in isLoggable()
61 ((Logger) logger).log((Level) level, msg); in log()
66 ((Logger) logger).log((Level) level, msg, t); in log()
71 ((Logger) logger).log((Level) level, msg, params); in log()
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()
111 Logger p = l.getParent(); in getParentLoggerName()
DLogger.java218 public class Logger { class
275 private volatile Logger parent; // our nearest parent.
295 public static final Logger getGlobal() { in getGlobal()
354 public static final Logger global = new Logger(GLOBAL_LOGGER_NAME);
373 protected Logger(String name, String resourceBundleName) { in Logger() method in Logger
377Logger(String name, String resourceBundleName, Class<?> caller, LogManager manager, boolean isSyst… in Logger() method in Logger
403 private Logger(String name) { in Logger() method in Logger
447 private static Logger demandLogger(String name, String resourceBundleName, Class<?> caller) { in demandLogger()
491 public static Logger getLogger(String name) { in getLogger()
551 public static Logger getLogger(String name, String resourceBundleName) { in getLogger()
[all …]
/libcore/ojluni/src/main/java/javax/sql/
DCommonDataSource.java31 import java.util.logging.Logger;
128 public Logger getParentLogger() throws SQLFeatureNotSupportedException; in getParentLogger()
/libcore/luni/src/test/java/tests/support/
DThreadPool.java20 import java.util.logging.Logger;
61 Logger.global.info("1 Task is removed"); in getTask()
111 Logger.global.info("Task is run"); in run()
/libcore/ojluni/annotations/sdk/nullability/java/util/logging/
DLogger.annotated.java36 public class Logger { class
38 protected Logger(@libcore.util.Nullable java.lang.String name, @libcore.util.Nullable java.lang.Str… in Logger() method in Logger
40 @libcore.util.NonNull public static final java.util.logging.Logger getGlobal() { throw new RuntimeE… in getGlobal()
42 @libcore.util.NonNull public static java.util.logging.Logger getLogger(@libcore.util.NonNull java.l… in getLogger()
44 @libcore.util.NonNull public static java.util.logging.Logger getLogger(@libcore.util.NonNull java.l… in getLogger()
46 @libcore.util.NonNull public static java.util.logging.Logger getAnonymousLogger() { throw new Runti… in getAnonymousLogger()
48 @libcore.util.NonNull public static java.util.logging.Logger getAnonymousLogger(@libcore.util.Nulla… in getAnonymousLogger()
160 @libcore.util.Nullable public java.util.logging.Logger getParent() { throw new RuntimeException("St… in getParent()
162 public void setParent(@libcore.util.NonNull java.util.logging.Logger parent) { throw new RuntimeExc… in setParent()
166 @Deprecated @libcore.util.NonNull public static final java.util.logging.Logger global;
/libcore/ojluni/src/main/java/java/sql/
DDriver.java29 import java.util.logging.Logger;
/libcore/luni/src/test/java/libcore/java/sql/
DOldStatementTest.java27 import java.util.logging.Logger;
1304 Logger.global.info("*Cancel* thread started"); in run()
1312 Logger.global.info("*Cancel* thread, about to do stmt.cancel()"); in run()
1314 Logger.global.info("*Cancel* thread, stmt.cancel() done"); in run()
1319 Logger.global.info("*Cancel* thread terminated"); in run()
1333 Logger.global.info("*Insert* thread started"); in run()
1341 Logger.global.info("*Insert* thread, about to do insertion"); in run()
1344 Logger.global.info("*Insert* thread inserted"); in run()
1349 Logger.global.info("*Insert* thread terminated"); in run()
/libcore/support/src/test/java/tests/support/
DSupport_TestWebServer.java25 import java.util.logging.Logger;
120 Logger.global.fine(s); in log()
/libcore/
Dopenjdk_java_files.bp1123 "ojluni/src/main/java/java/util/logging/Logger.java",