/external/slf4j/slf4j-ext/src/main/java/org/slf4j/ext/ |
D | LoggerWrapper.java | 50 protected final Logger logger; field in LoggerWrapper 55 public LoggerWrapper(Logger logger, String fqcn) { in LoggerWrapper() argument 56 this.logger = logger; in LoggerWrapper() 58 if (logger instanceof LocationAwareLogger) { in LoggerWrapper() 69 return logger.isTraceEnabled(); in isTraceEnabled() 76 return logger.isTraceEnabled(marker); in isTraceEnabled() 83 if (!logger.isTraceEnabled()) in trace() 87 … ((LocationAwareLogger) logger).log(null, fqcn, LocationAwareLogger.TRACE_INT, msg, null, null); in trace() 89 logger.trace(msg); in trace() 97 if (!logger.isTraceEnabled()) in trace() [all …]
|
/external/slf4j/slf4j-simple/src/test/java/org/slf4j/ |
D | InvocationTest.java | 56 Logger logger = LoggerFactory.getLogger("test1"); in test1() local 57 logger.debug("Hello world."); in test1() 65 Logger logger = LoggerFactory.getLogger("test2"); in test2() local 67 logger.debug("Hello world 1."); in test2() 68 logger.debug("Hello world {}", i1); in test2() 69 logger.debug("val={} val={}", i1, i2); in test2() 70 logger.debug("val={} val={} val={}", new Object[] { i1, i2, i3 }); in test2() 72 logger.debug("Hello world 2", e); in test2() 73 logger.info("Hello world 2."); in test2() 75 logger.warn("Hello world 3."); in test2() [all …]
|
/external/slf4j/slf4j-jcl/src/test/java/org/slf4j/ |
D | InvocationTest.java | 58 Logger logger = LoggerFactory.getLogger("test1"); in test1() local 59 logger.debug("Hello world."); in test1() 67 Logger logger = LoggerFactory.getLogger("test2"); in test2() local 69 logger.debug("Hello world 1."); in test2() 70 logger.debug("Hello world {}", i1); in test2() 71 logger.debug("val={} val={}", i1, i2); in test2() 72 logger.debug("val={} val={} val={}", new Object[] { i1, i2, i3 }); in test2() 74 logger.debug("Hello world 2", e); in test2() 75 logger.info("Hello world 2."); in test2() 77 logger.warn("Hello world 3."); in test2() [all …]
|
/external/slf4j/slf4j-nop/src/test/java/org/slf4j/ |
D | InvocationTest.java | 52 Logger logger = LoggerFactory.getLogger("test1"); in test1() local 53 logger.debug("Hello world."); in test1() 61 Logger logger = LoggerFactory.getLogger("test2"); in test2() local 63 logger.debug("Hello world 1."); in test2() 64 logger.debug("Hello world {}", i1); in test2() 65 logger.debug("val={} val={}", i1, i2); in test2() 66 logger.debug("val={} val={} val={}", new Object[] { i1, i2, i3 }); in test2() 68 logger.debug("Hello world 2", e); in test2() 69 logger.info("Hello world 2."); in test2() 71 logger.warn("Hello world 3."); in test2() [all …]
|
/external/slf4j/slf4j-log4j12/src/test/java/org/slf4j/ |
D | InvocationTest.java | 62 Logger logger = LoggerFactory.getLogger("test1"); in test1() local 63 logger.debug("Hello world."); in test1() 72 Logger logger = LoggerFactory.getLogger("test2"); in test2() local 74 logger.trace("Hello trace."); in test2() 76 logger.debug("Hello world 1."); in test2() 77 logger.debug("Hello world {}", i1); in test2() 78 logger.debug("val={} val={}", i1, i2); in test2() 79 logger.debug("val={} val={} val={}", new Object[] { i1, i2, i3 }); in test2() 81 logger.debug("Hello world 2", e); in test2() 82 logger.info("Hello world 2."); in test2() [all …]
|
/external/slf4j/slf4j-jdk14/src/test/java/org/slf4j/ |
D | InvocationTest.java | 71 Logger logger = LoggerFactory.getLogger("test1"); in test1() local 72 logger.debug("Hello world."); in test1() 82 Logger logger = LoggerFactory.getLogger("test2"); in verifyMessageFormatting() local 85 logger.debug("Hello world"); in verifyMessageFormatting() 88 logger.debug("Hello world {}", i1); in verifyMessageFormatting() 91 logger.debug("val={} val={}", i1, i2); in verifyMessageFormatting() 94 logger.debug("val={} val={} val={}", new Object[] { i1, i2, i3 }); in verifyMessageFormatting() 97 logger.debug("Hello world 2", e); in verifyMessageFormatting() 100 logger.info("Hello world 2."); in verifyMessageFormatting() 102 logger.warn("Hello world 3."); in verifyMessageFormatting() [all …]
|
/external/slf4j/jcl-over-slf4j/src/main/java/org/apache/commons/logging/impl/ |
D | SLF4JLog.java | 45 private transient Logger logger; field in SLF4JLog 47 SLF4JLog(Logger logger) { in SLF4JLog() argument 48 this.logger = logger; in SLF4JLog() 49 this.name = logger.getName(); in SLF4JLog() 56 return logger.isDebugEnabled(); in isDebugEnabled() 63 return logger.isErrorEnabled(); in isErrorEnabled() 71 return logger.isErrorEnabled(); in isFatalEnabled() 78 return logger.isInfoEnabled(); in isInfoEnabled() 86 return logger.isTraceEnabled(); in isTraceEnabled() 93 return logger.isWarnEnabled(); in isWarnEnabled() [all …]
|
D | SLF4JLocationAwareLog.java | 46 private transient LocationAwareLogger logger; field in SLF4JLocationAwareLog 50 SLF4JLocationAwareLog(LocationAwareLogger logger) { in SLF4JLocationAwareLog() argument 51 this.logger = logger; in SLF4JLocationAwareLog() 52 this.name = logger.getName(); in SLF4JLocationAwareLog() 60 return logger.isTraceEnabled(); in isTraceEnabled() 67 return logger.isDebugEnabled(); in isDebugEnabled() 74 return logger.isInfoEnabled(); in isInfoEnabled() 81 return logger.isWarnEnabled(); in isWarnEnabled() 88 return logger.isErrorEnabled(); in isErrorEnabled() 96 return logger.isErrorEnabled(); in isFatalEnabled() [all …]
|
/external/slf4j/slf4j-log4j12/src/main/java/org/slf4j/impl/ |
D | Log4jLoggerAdapter.java | 59 final transient org.apache.log4j.Logger logger; field in Log4jLoggerAdapter 74 Log4jLoggerAdapter(org.apache.log4j.Logger logger) { in Log4jLoggerAdapter() argument 75 this.logger = logger; in Log4jLoggerAdapter() 76 this.name = logger.getName(); in Log4jLoggerAdapter() 82 logger.isTraceEnabled(); in isTraceCapable() 96 return logger.isTraceEnabled(); in isTraceEnabled() 98 return logger.isDebugEnabled(); in isTraceEnabled() 109 logger.log(FQCN, traceCapable ? Level.TRACE : Level.DEBUG, msg, null); in trace() 129 … logger.log(FQCN, traceCapable ? Level.TRACE : Level.DEBUG, ft.getMessage(), ft.getThrowable()); in trace() 152 … logger.log(FQCN, traceCapable ? Level.TRACE : Level.DEBUG, ft.getMessage(), ft.getThrowable()); in trace() [all …]
|
/external/chromium-trace/catapult/telemetry/third_party/pyserial/serial/ |
D | rfc2217.py | 320 if self.connection.logger: 321 self.connection.logger.debug("SB Requesting %s -> %r" % (self.name, self.value)) 358 if self.connection.logger: 359 … self.connection.logger.debug("SB Answer %s -> %r -> %s" % (self.name, suboption, self.state)) 373 self.logger = None 449 if self.logger: 450 self.logger.info("Negotiated options: %s" % self._telnet_options) 485 if self.logger: 486 self.logger.debug("Negotiating settings: %s" % (items,)) 494 if self.logger: [all …]
|
/external/chromium-trace/catapult/telemetry/third_party/pyserial/serial/urlhandler/ |
D | protocol_socket.py | 44 self.logger = None 74 if self.logger: 75 self.logger.info('ignored port configuration change') 111 self.logger = logging.getLogger('pySerial.socket') 112 self.logger.setLevel(LOGGER_LEVELS[value]) 113 self.logger.debug('enabled logging') 129 if self.logger: 131 self.logger.debug('WARNING: inWaiting returns dummy value') 180 if self.logger: 181 self.logger.info('ignored flushInput') [all …]
|
D | protocol_loop.py | 43 self.logger = None 71 if self.logger: 72 self.logger.info('_reconfigurePort()') 98 self.logger = logging.getLogger('pySerial.loop') 99 self.logger.setLevel(LOGGER_LEVELS[value]) 100 self.logger.debug('enabled logging') 111 if self.logger: 114 self.logger.debug('inWaiting() -> %d' % (len(self.loop_buffer),)) 166 if self.logger: 167 self.logger.info('flushInput()') [all …]
|
/external/chromium-trace/catapult/dashboard/dashboard/ |
D | quick_logger_test.py | 16 logger = quick_logger.QuickLogger('a_namespace', 'a_log_name', formatter) 17 logger.Log('Hello world') 18 logger.Save() 24 logger = quick_logger.QuickLogger('a_namespace', 'a_log_name') 26 logger.Log(str(i % 2) * quick_logger._MAX_MSG_SIZE) 27 logger.Save() 32 logger = quick_logger.QuickLogger('a_namespace', 'a_log_name') 34 logger.Log(i) 35 logger.Save() 42 logger = quick_logger.QuickLogger('a_namespace', 'a_log_name') [all …]
|
/external/slf4j/slf4j-jdk14/src/main/java/org/slf4j/impl/ |
D | JDK14LoggerAdapter.java | 50 transient final java.util.logging.Logger logger; field in JDK14LoggerAdapter 54 JDK14LoggerAdapter(java.util.logging.Logger logger) { in JDK14LoggerAdapter() argument 55 this.logger = logger; in JDK14LoggerAdapter() 56 this.name = logger.getName(); in JDK14LoggerAdapter() 65 return logger.isLoggable(Level.FINEST); in isTraceEnabled() 75 if (logger.isLoggable(Level.FINEST)) { in trace() 95 if (logger.isLoggable(Level.FINEST)) { in trace() 118 if (logger.isLoggable(Level.FINEST)) { in trace() 139 if (logger.isLoggable(Level.FINEST)) { in trace() 154 if (logger.isLoggable(Level.FINEST)) { in trace() [all …]
|
/external/slf4j/slf4j-ext/src/main/java/org/slf4j/cal10n/ |
D | LocLogger.java | 55 public LocLogger(Logger logger, IMessageConveyor imc) { in LocLogger() argument 56 super(logger, LoggerWrapper.class.getName()); in LocLogger() 72 if (!logger.isTraceEnabled()) { in trace() 79 …((LocationAwareLogger) logger).log(LOCALIZED, FQCN, LocationAwareLogger.TRACE_INT, translatedMsg, … in trace() 81 logger.trace(LOCALIZED, translatedMsg, mpo); in trace() 94 if (!logger.isDebugEnabled()) { in debug() 101 …((LocationAwareLogger) logger).log(LOCALIZED, FQCN, LocationAwareLogger.DEBUG_INT, translatedMsg, … in debug() 103 logger.debug(LOCALIZED, translatedMsg, mpo); in debug() 116 if (!logger.isInfoEnabled()) { in info() 123 …((LocationAwareLogger) logger).log(LOCALIZED, FQCN, LocationAwareLogger.INFO_INT, translatedMsg, a… in info() [all …]
|
/external/slf4j/slf4j-ext/src/test/java/org/slf4j/dummyExt/ |
D | XLoggerTest.java | 78 XLogger logger = XLoggerFactory.getXLogger("UnitTest"); in testEntering() local 79 logger.entry(); in testEntering() 80 logger.entry(1); in testEntering() 81 logger.entry("test"); in testEntering() 82 logger.entry("a", "b", "c", "d"); in testEntering() 83 logger.entry("a", "b", "c", "d", "e"); in testEntering() 84 logger.entry("a", "b", "c", "d", "e", "f"); in testEntering() 93 XLogger logger = XLoggerFactory.getXLogger("UnitTest"); in testExiting() local 94 logger.exit(); in testExiting() 95 assertEquals(Integer.valueOf(0), logger.exit(0)); in testExiting() [all …]
|
/external/autotest/client/cros/cellular/ |
D | cell_tools_test_on_chromebook.py | 28 logger = cellular_logging.SetupCellularLogging('cell_tools_test') variable 37 logger.debug('making flimflam object..') 39 logger.debug('Find Cellular Device ...') 41 logger.debug('Find Celluar Service..') 43 logger.debug('Set Auto Connect to False ..') 46 logger.debug('Reset all modems ..') 48 logger.debug('Prepare Modem for LTE..') 51 logger.debug('Make another flimflam..') 53 logger.debug('Sleep for 5...') 55 logger.debug('Connect to Cellular...') [all …]
|
D | cell_tools.py | 27 logger = cellular_logging.SetupCellularLogging('cell_tools') variable 49 logger.error('Properties are: %s', properties) 51 logger.info('Connecting to cell service: %s', service) 58 logger.debug('Cell connection state : %s ' % state) 61 logger.debug('Looks good, skip ConnectService') 64 logger.debug('Trying to ConnectService') 72 logger.error('Connect failed: %s' % status) 165 logger.info('New modem: %s' % new_modems[0]) 174 logger.debug('SetFirmwareForTechnologyFamily : manager : %s ' % manager) 175 logger.debug('SetFirmwareForTechnologyFamily : modem_path : %s ' % [all …]
|
/external/autotest/site_utils/docgen/ |
D | CreateDocs.py | 103 def __init__(self, options, args, logger): argument 108 self.logger = logger 134 self.logger.debug('Executing with debug level: %s', self.debug) 135 self.logger.debug('Writing to logfile: %s', self.logfile) 136 self.logger.debug('New test directory: %s', self.src_tests) 137 self.logger.debug('Test suite: %s', self.suite) 153 self.logger.info("Scanning %s", test_path) 155 self.logger) 158 self.logger.warning("Duplicates found: %s", test_intersection) 167 self.logger.debug('Scanning %s for tests', suitefile) [all …]
|
/external/parameter-framework/upstream/tools/clientSimulator/ |
D | pfClientSimulator.py | 45 def close(logger, testLauncher, coverage): argument 52 logger.info("{} \n {}".format( 68 logger.info("Closing") 74 logger, argument 81 logger.info("Launching {}".format(scenarioFileName)) 89 logger.info("Scenario execution complete.") 126 logger = logging.getLogger(__name__) 134 logger.addHandler(consoleLogger) 139 logger.error( 152 logger.error( [all …]
|
/external/slf4j/log4j-over-slf4j/compatibility/src/main/java/test/ |
D | Log4j13Calls.java | 28 public static final Logger logger = Logger.getLogger(Log4j12Calls.class); field in Log4j13Calls 33 logger.trace("Trace level can be noisy"); in testLog() 34 logger.debug("Entering application"); in testLog() 35 logger.info("Violets are blue"); in testLog() 36 logger.warn("Here is a warning"); in testLog() 37 logger.info("The answer is {}.", new Integer(42)); in testLog() 38 logger.info("Number: {} and another one: {}.", new Integer(42), new Integer(24)); in testLog() 40 logger.error("Exiting application", new Exception("just testing")); in testLog()
|
/external/dhcpcd-6.8.2/ |
D | if-options.c | 213 logger(ctx, LOG_ERR, "%s: %m", __func__); in add_environ() 218 logger(ctx, LOG_ERR, "%s: no assignment: %s", __func__, value); in add_environ() 230 logger(ctx, LOG_ERR, in add_environ() 243 logger(ctx, LOG_ERR, in add_environ() 262 logger(ctx, LOG_ERR, "%s: %m", __func__); in add_environ() 267 logger(ctx, LOG_ERR, "%s: %m", __func__); in add_environ() 442 logger(ctx, LOG_ERR, "%s: %m", __func__); in splitv() 449 logger(ctx, LOG_ERR, "%s: %m", __func__); in splitv() 455 logger(ctx, LOG_ERR, "%s: %m", __func__); in splitv() 488 logger(ctx, LOG_ERR, "`%s' is not a valid CIDR", p); in parse_addr() [all …]
|
D | dhcpcd.c | 202 logger(ctx, LOG_ERR, "timed out"); in handle_exit_timeout() 271 logger(ctx, LOG_ERR, "pipe: %m"); in dhcpcd_daemonise() 274 logger(ctx, LOG_DEBUG, "forking to background"); in dhcpcd_daemonise() 277 logger(ctx, LOG_ERR, "fork: %m"); in dhcpcd_daemonise() 284 logger(ctx, LOG_ERR, "eloop_requeue: %m"); in dhcpcd_daemonise() 290 logger(ctx, LOG_ERR, "failed to notify parent: %m"); in dhcpcd_daemonise() 303 logger(ctx, LOG_ERR, "failed to read child: %m"); in dhcpcd_daemonise() 309 logger(ctx, LOG_INFO, "forked to background, child pid %d", pid); in dhcpcd_daemonise() 339 logger(ctx, LOG_INFO, "%s: removing interface", ifp->name); in stop_interface() 503 logger(ifp->ctx, LOG_ERR, "%s: %m", __func__); in configure_interface1() [all …]
|
/external/slf4j/slf4j-jdk14/src/test/java/org/slf4j/impl/ |
D | JDK14AdapterLoggerNameTest.java | 38 Logger logger = Logger.getLogger("TEST"); in setUp() local 40 removeHandlers(logger); in setUp() 41 logger.addHandler(mockHandler); in setUp() 57 org.slf4j.Logger logger = factory.getLogger("TEST"); in testLoggerNameUsingSlf4j() local 58 logger.info("test message"); in testLoggerNameUsingSlf4j() 62 private void removeHandlers(Logger logger) { in removeHandlers() argument 63 logger.setUseParentHandlers(false); in removeHandlers() 64 Handler[] handlers = logger.getHandlers(); in removeHandlers() 66 logger.removeHandler(handlers[i]); in removeHandlers()
|
/external/mockito/src/org/mockito/internal/debugging/ |
D | LoggingListener.java | 15 private final MockitoLogger logger; field in LoggingListener 17 public LoggingListener(boolean warnAboutUnstubbed, MockitoLogger logger) { in LoggingListener() argument 19 this.logger = logger; in LoggingListener() 23 logger.log(join( in foundStubCalledWithDifferentArgs() 32 logger.log("This stubbing was never used " + unused.getLocation() + "\n"); in foundUnusedStub() 37 logger.log(join( in foundUnstubbed() 50 return logger; in getLogger()
|