Home
last modified time | relevance | path

Searched refs:Logger (Results 1 – 17 of 17) 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/src/main/java/java/util/logging/
DLogManager.java168 private volatile Logger rootLogger;
349 final Logger global = Logger.global; in ensureLogManagerInitialized()
518 Logger demandLogger(String name, String resourceBundleName, Class<?> caller) { in demandLogger()
519 Logger result = getLogger(name); in demandLogger()
522 Logger newLogger = new Logger(name, resourceBundleName, caller, this, false); in demandLogger()
547 Logger demandSystemLogger(String name, String resourceBundleName) { in demandSystemLogger()
549 final Logger sysLogger = getSystemContext().demandLogger(name, resourceBundleName); in demandSystemLogger()
555 Logger logger; in demandSystemLogger()
571 final Logger l = logger; in demandSystemLogger()
636 final Logger getRootLogger() { in getRootLogger()
[all …]
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.java219 public class Logger { class
276 private volatile Logger parent; // our nearest parent.
296 public static final Logger getGlobal() { in getGlobal()
355 public static final Logger global = new Logger(GLOBAL_LOGGER_NAME);
374 protected Logger(String name, String resourceBundleName) { in Logger() method in Logger
378Logger(String name, String resourceBundleName, Class<?> caller, LogManager manager, boolean isSyst… in Logger() method in Logger
404 private Logger(String name) { in Logger() method in Logger
448 private static Logger demandLogger(String name, String resourceBundleName, Class<?> caller) { in demandLogger()
492 public static Logger getLogger(String name) { in getLogger()
554 public static Logger getLogger(String name, String resourceBundleName) { in getLogger()
[all …]
/libcore/dalvik/src/main/java/dalvik/system/
DDalvikLogHandler.java20 import java.util.logging.Logger;
44 void publish(Logger source, String tag, Level level, String message); in publish()
/libcore/luni/src/test/java/tests/java/sql/
DStressTest.java28 import java.util.logging.Logger;
154 Logger.global in testInsertOfManyRowsUsingOneThread()
157 Logger.global.info("Opening " + maxConnections + " to database " in testInsertOfManyRowsUsingOneThread()
162 Logger.global.info("TasksPerConnection = " + Support_SQL.sqlMaxTasks in testInsertOfManyRowsUsingOneThread()
167 Logger.global.info(" creating " + tasksPerConnection in testInsertOfManyRowsUsingOneThread()
192 Logger.global.info("java.sql stress test: multiple threads and many operations."); in testInsertOfManyRowsUsingManyThreads()
197 Logger.global.info("Opening "+numConnections+" to database "+Support_SQL.getFilename()); in testInsertOfManyRowsUsingManyThreads()
202 Logger.global.info(" creating "+tasksPerConnection+ " tasks for Connection "+i); in testInsertOfManyRowsUsingManyThreads()
/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/src/main/java/java/sql/
DDriver.java28 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/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/cert/
DX509CertificateTest.java51 import java.util.logging.Logger;
161 Logger.global.warning("Error in test setup: Certificate type not supported"); in setUp()
166 Logger.global.warning("Error in test setup: Certificate type not supported"); in setUp()
386 Logger.global.warning("testGetIssuerDN: error in test setup."); in testGetIssuerDN()
/libcore/support/src/test/java/tests/http/
DMockWebServer.java49 import java.util.logging.Logger;
65 private static final Logger logger = Logger.getLogger(MockWebServer.class.getName());
/libcore/support/src/test/java/tests/support/
DSupport_TestWebServer.java25 import java.util.logging.Logger;
120 Logger.global.fine(s); in log()
/libcore/dom/src/test/java/org/w3c/domts/
DJUnitTestCaseAdapter.java24 import java.util.logging.Logger;
/libcore/
Dopenjdk_java_files.mk1112 ojluni/src/main/java/java/util/logging/Logger.java \