/external/python/cpython2/Lib/test/ |
D | test_logging.py | 62 logger_dict = logging.getLogger().manager.loggerDict 75 logging.getLogger("\xab\xd7\xbb") 76 logging.getLogger(u"\u013f\u00d6\u0047") 78 self.root_logger = logging.getLogger("") 105 loggerDict = logging.getLogger().manager.loggerDict 148 ERR = logging.getLogger("ERR") 150 INF = logging.getLogger("INF") 152 DEB = logging.getLogger("DEB") 195 INF = logging.getLogger("INF") 197 INF_ERR = logging.getLogger("INF.ERR") [all …]
|
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/ |
D | LogManagerTest.java | 109 Logger foo = mockManager.getLogger(FOO); in testAddGetLogger() 112 foo = mockManager.getLogger(FOO); in testAddGetLogger() 123 mockManager.getLogger(null); in testAddGetLogger() 128 assertNull(mockManager.getLogger("bad name")); in testAddGetLogger() 145 assertSame(foo, mockManager.getLogger(FOO)); in testAddGetLogger_duplicateName() 147 assertSame(foo, mockManager.getLogger(FOO)); in testAddGetLogger_duplicateName() 190 assertSame(manager.getLogger(""), manager.getLogger( in testAddGetLogger_Hierachy() 210 Logger realRoot = manager.getLogger(""); in testAddLoggerReverseOrder() 279 assertSame(foo, mockManager.getLogger(FOO)); in testAddGetLogger_nameWithSpace() 280 assertSame(fooBeforeSpace, mockManager.getLogger(FOO + " ")); in testAddGetLogger_nameWithSpace() [all …]
|
D | LoggerTest.java | 110 assertSame(Logger.global, Logger.getLogger("global")); in testGlobalLogger() 112 .getLogger("global")); in testGlobalLogger() 244 assertNull(LogManager.getLogManager().getLogger( in testGetLogger_Normal() 247 Logger log = Logger.getLogger("testGetLogger_Normal_ANewLogger"); in testGetLogger_Normal() 249 assertSame(log, Logger.getLogger("testGetLogger_Normal_ANewLogger")); in testGetLogger_Normal() 251 assertSame(log, LogManager.getLogManager().getLogger( in testGetLogger_Normal() 277 assertNull(LogManager.getLogManager().getLogger( in testGetLogger_InvalidLevel() 280 Logger log = Logger.getLogger("testGetLogger_InvalidLevel_ANewLogger"); in testGetLogger_InvalidLevel() 283 .getLogger("testGetLogger_InvalidLevel_ANewLogger")); in testGetLogger_InvalidLevel() 285 assertSame(log, LogManager.getLogManager().getLogger( in testGetLogger_InvalidLevel() [all …]
|
/external/slf4j/log4j-over-slf4j/src/main/java/org/apache/log4j/ |
D | Logger.java | 40 public static Logger getLogger(String name) { in getLogger() method in Logger 41 return Log4jLoggerFactory.getLogger(name); in getLogger() 44 public static Logger getLogger(String name, LoggerFactory loggerFactory) { in getLogger() method in Logger 45 return Log4jLoggerFactory.getLogger(name, loggerFactory); in getLogger() 48 public static Logger getLogger(Class clazz) { in getLogger() method in Logger 49 return getLogger(clazz.getName()); in getLogger() 58 return Log4jLoggerFactory.getLogger(org.slf4j.Logger.ROOT_LOGGER_NAME); in getRootLogger()
|
D | LogManager.java | 41 return Log4jLoggerFactory.getLogger(org.slf4j.Logger.ROOT_LOGGER_NAME); in getRootLogger() 44 public static Logger getLogger(final String name) { in getLogger() method in LogManager 45 return Log4jLoggerFactory.getLogger(name); in getLogger() 48 public static Logger getLogger(final Class clazz) { in getLogger() method in LogManager 49 return Log4jLoggerFactory.getLogger(clazz.getName()); in getLogger() 63 public static Logger getLogger(String name, LoggerFactory loggerFactory) { in getLogger() method in LogManager
|
/external/apache-http/src/org/apache/commons/logging/impl/ |
D | Jdk14Logger.java | 65 logger = getLogger(); in Jdk14Logger() 89 Logger logger = getLogger(); in log() 183 public Logger getLogger() { in getLogger() method in Jdk14Logger 185 logger = Logger.getLogger(name); in getLogger() 218 return (getLogger().isLoggable(Level.FINE)); in isDebugEnabled() 226 return (getLogger().isLoggable(Level.SEVERE)); in isErrorEnabled() 234 return (getLogger().isLoggable(Level.SEVERE)); in isFatalEnabled() 242 return (getLogger().isLoggable(Level.INFO)); in isInfoEnabled() 250 return (getLogger().isLoggable(Level.FINEST)); in isTraceEnabled() 258 return (getLogger().isLoggable(Level.WARNING)); in isWarnEnabled()
|
/external/slf4j/slf4j-api/src/test/java/org/slf4j/helpers/ |
D | SubstituteLoggerFactoryTest.java | 38 Logger log = factory.getLogger("foo"); in testFactory() 41 Logger log2 = factory.getLogger("foo"); in testFactory() 46 factory.getLogger("foo1"); in testLoggerNameList() 47 factory.getLogger("foo2"); in testLoggerNameList() 56 factory.getLogger("foo1"); in testLoggers() 57 factory.getLogger("foo2"); in testLoggers()
|
/external/fonttools/Tests/misc/ |
D | loggingTools_test.py | 33 log = logging.getLogger(next(unique_logger_name)) 49 log = logging.getLogger(name) 142 logging.getLogger(n+".A.B").debug('this record passes through') 145 logging.getLogger(n+'.A.B.C').debug('records from children also pass') 148 logging.getLogger(n+'.C.D').debug('this one as well') 151 logging.getLogger(n+'.A.B.').debug('also this one') 155 logging.getLogger(n+'.A.F').debug('but this one does not!') 158 logging.getLogger(n+'.C.DE').debug('neither this one!') 198 logger = logging.getLogger("myCustomLogger")
|
/external/autotest/site_utils/sponge_lib/ |
D | sponge_utils.py | 42 start_level = logging.getLogger().level 45 logging.getLogger().addHandler(log_handler) 46 logging.getLogger().setLevel(logging.DEBUG) 57 logging.getLogger().removeHandler(log_handler) 58 logging.getLogger().setLevel(start_level)
|
/external/slf4j/slf4j-simple/src/test/java/org/slf4j/ |
D | DetectLoggerNameMismatchTest.java | 71 Logger logger = LoggerFactory.getLogger(String.class); in testNoTriggerWithoutProperty() 82 LoggerFactory.getLogger(String.class); in testTriggerWithProperty() 92 LoggerFactory.getLogger(String.class); in testTriggerWholeMessage() 103 Logger logger = LoggerFactory.getLogger(DetectLoggerNameMismatchTest.class); in testPassIfMatch() 130 public Logger logger = LoggerFactory.getLogger(getClass());
|
D | InvocationTest.java | 56 Logger logger = LoggerFactory.getLogger("test1"); in test1() 65 Logger logger = LoggerFactory.getLogger("test2"); in test2() 85 Logger logger = LoggerFactory.getLogger("testNullParameter_BUG78"); in testNullParameter_BUG78() 92 Logger logger = LoggerFactory.getLogger("testNull"); in testNull() 106 Logger logger = LoggerFactory.getLogger("testMarker"); in testMarker()
|
/external/python/cpython3/Lib/test/ |
D | test_logging.py | 82 logger_dict = logging.getLogger().manager.loggerDict 98 self.logger1 = logging.getLogger("\xab\xd7\xbb") 99 self.logger2 = logging.getLogger("\u013f\u00d6\u0047") 101 self.root_logger = logging.getLogger("") 138 manager = logging.getLogger().manager 185 ERR = logging.getLogger("ERR") 187 INF = logging.LoggerAdapter(logging.getLogger("INF"), {}) 189 DEB = logging.getLogger("DEB") 232 INF = logging.getLogger("INF") 234 INF_ERR = logging.getLogger("INF.ERR") [all …]
|
/external/slf4j/slf4j-jcl/src/test/java/org/slf4j/ |
D | InvocationTest.java | 40 java.util.logging.Logger root = java.util.logging.Logger.getLogger(""); 58 Logger logger = LoggerFactory.getLogger("test1"); in test1() 67 Logger logger = LoggerFactory.getLogger("test2"); in test2() 86 Logger logger = LoggerFactory.getLogger("testNull"); in testNull() 100 Logger logger = LoggerFactory.getLogger("testMarker"); in testMarker()
|
/external/slf4j/slf4j-jdk14/src/test/java/org/slf4j/impl/ |
D | JDK14AdapterLoggerNameTest.java | 38 Logger logger = Logger.getLogger("TEST"); in setUp() 45 removeHandlers(Logger.getLogger("TEST")); in tearDown() 50 Logger.getLogger("TEST").info("test message"); in testLoggerNameusingJdkLogging() 57 org.slf4j.Logger logger = factory.getLogger("TEST"); in testLoggerNameUsingSlf4j()
|
/external/scapy/scapy/ |
D | error.py | 59 log_scapy = logging.getLogger("scapy") 61 log_runtime = logging.getLogger("scapy.runtime") # logs at runtime 63 log_interactive = logging.getLogger("scapy.interactive") # logs in interactive functions 64 log_loading = logging.getLogger("scapy.loading") # logs when loading Scapy
|
/external/slf4j/slf4j-log4j12/src/test/java/org/slf4j/ |
D | InvocationTest.java | 62 Logger logger = LoggerFactory.getLogger("test1"); in test1() 72 Logger logger = LoggerFactory.getLogger("test2"); in test2() 94 Logger logger = LoggerFactory.getLogger("testNull"); in testNull() 111 Logger logger = LoggerFactory.getLogger("testNullParameter_BUG78"); in testNullParameter_BUG78() 122 Logger logger = LoggerFactory.getLogger("testMarker"); in testMarker()
|
/external/slf4j/slf4j-nop/src/test/java/org/slf4j/ |
D | InvocationTest.java | 52 Logger logger = LoggerFactory.getLogger("test1"); in test1() 61 Logger logger = LoggerFactory.getLogger("test2"); in test2() 80 Logger logger = LoggerFactory.getLogger("testNull"); in testNull() 94 Logger logger = LoggerFactory.getLogger("testMarker"); in testMarker()
|
/external/slf4j/log4j-over-slf4j/src/test/java/org/dummy/ |
D | Bug139.java | 39 java.util.logging.Logger root = java.util.logging.Logger.getLogger(""); in test() 42 Logger log4jLogger = Logger.getLogger("a"); in test() 43 Category log4jCategory = Logger.getLogger("b"); in test()
|
D | Bug131.java | 40 java.util.logging.Logger root = java.util.logging.Logger.getLogger(""); in testBug131() 43 Logger log4jLogger = Logger.getLogger("a"); in testBug131() 44 Category log4jCategory = Logger.getLogger("b"); in testBug131()
|
/external/slf4j/slf4j-jdk14/src/test/java/org/slf4j/ |
D | InvocationTest.java | 51 java.util.logging.Logger root = java.util.logging.Logger.getLogger(""); 71 Logger logger = LoggerFactory.getLogger("test1"); in test1() 82 Logger logger = LoggerFactory.getLogger("test2"); in verifyMessageFormatting() 112 Logger logger = LoggerFactory.getLogger("testNull"); in testNull() 127 Logger logger = LoggerFactory.getLogger("testMarker"); in testMarker()
|
/external/autotest/site_utils/ |
D | log_socket_server_unittest.py | 28 logging.getLogger().handlers = [] 30 logging.getLogger().addHandler(socketHandler) 31 logging.getLogger().level = logging.INFO
|
/external/slf4j/slf4j-api/src/main/java/org/slf4j/ |
D | LoggerFactory.java | 189 subLogger.setDelegate(getLogger(subLogger.getName())); in fixSubstitutedLoggers() 282 public static Logger getLogger(String name) { in getLogger() method in LoggerFactory 284 return iLoggerFactory.getLogger(name); in getLogger() 303 public static Logger getLogger(Class<?> clazz) { in getLogger() method in LoggerFactory 304 Logger logger = getLogger(clazz.getName()); in getLogger()
|
/external/slf4j/jul-to-slf4j/src/test/java/org/slf4j/bridge/ |
D | SLF4JBridgeHandlerPerfTest.java | 46 java.util.logging.Logger julRootLogger = LogManager.getLogManager().getLogger(""); 48 java.util.logging.Logger julLogger = java.util.logging.Logger.getLogger(LOGGER_NAME); 49 org.slf4j.Logger slf4jLogger = LoggerFactory.getLogger(LOGGER_NAME);
|
/external/chromium-trace/catapult/common/py_utils/py_utils/ |
D | logging_util.py | 22 logger = logging.getLogger() 34 logger = logging.getLogger()
|
/external/slf4j/integration/src/test/java/integrator/ |
D | Activator.java | 43 Logger logger = LoggerFactory.getLogger(this.getClass()); in start() 50 Logger logger = LoggerFactory.getLogger(this.getClass()); in stop()
|