/external/slf4j/slf4j-ext/src/main/java/org/slf4j/ext/ |
D | LoggerWrapper.java | 27 import org.slf4j.Logger; 34 * A helper class wrapping an {@link org.slf4j.Logger} instance preserving 40 public class LoggerWrapper implements Logger { 45 // the Logger instance it wraps. 46 // Note that 'instanceofLAL' directly depends on Logger. 50 protected final Logger logger; field in LoggerWrapper 52 // is this logger instance a LocationAwareLogger 55 public LoggerWrapper(Logger logger, String fqcn) { in LoggerWrapper() argument 56 this.logger = logger; in LoggerWrapper() 58 if (logger instanceof LocationAwareLogger) { in LoggerWrapper() [all …]
|
/external/slf4j/slf4j-migrator/src/test/java/org/slf4j/migrator/line/ |
D | Log4jRuleSetTest.java | 45 …assertTrue(Arrays.equals(new String[] { "import org.slf4j.Logger;", "import org.slf4j.LoggerFactor… in testImportReplacement() 46 log4jConverter.getReplacement("import org.apache.log4j.Logger;"))); in testImportReplacement() 51 // Logger declaration and instanciation without modifier in testLogManagerGetLoggerReplacement() 52 assertEquals(" Logger l = LoggerFactory.getLogger(MyClass.class);", in testLogManagerGetLoggerReplacement() 53 … log4jConverter.getOneLineReplacement(" Logger l = LogManager.getLogger(MyClass.class);")); in testLogManagerGetLoggerReplacement() 54 // Logger declaration and instanciation with one modifier in testLogManagerGetLoggerReplacement() 55 assertEquals("public Logger mylog=LoggerFactory.getLogger(MyClass.class);", in testLogManagerGetLoggerReplacement() 56 … log4jConverter.getOneLineReplacement("public Logger mylog=LogManager.getLogger(MyClass.class);")); in testLogManagerGetLoggerReplacement() 57 // Logger declaration and instanciation with two modifier in testLogManagerGetLoggerReplacement() 58 assertEquals("public static Logger mylog1 = LoggerFactory.getLogger(MyClass.class);", in testLogManagerGetLoggerReplacement() [all …]
|
D | JCLRuleSetTest.java | 40 …assertEquals("import org.slf4j.Logger;", jclConverter.getOneLineReplacement("import org.apache.com… in testImportReplacement() 44 // Logger declaration and instanciation without modifier in testLogFactoryGetLogReplacement() 45 assertEquals(" Logger l = LoggerFactory.getLogger(MyClass.class);", in testLogFactoryGetLogReplacement() 47 // Logger declaration and instanciation with one modifier in testLogFactoryGetLogReplacement() 48 assertEquals("public Logger mylog=LoggerFactory.getLogger(MyClass.class);", in testLogFactoryGetLogReplacement() 50 // Logger declaration and instanciation with two modifier in testLogFactoryGetLogReplacement() 51 assertEquals("public static Logger mylog1 = LoggerFactory.getLogger(MyClass.class);", in testLogFactoryGetLogReplacement() 53 // Logger declaration and instanciation with two modifier and comment at the in testLogFactoryGetLogReplacement() 55 …assertEquals("public static Logger mylog1 = LoggerFactory.getLogger(MyClass.class); //logger insta… in testLogFactoryGetLogReplacement() 56 …lacement("public static Log mylog1 = LogFactory.getLog(MyClass.class); //logger instanciation and … in testLogFactoryGetLogReplacement() [all …]
|
/external/webrtc/webrtc/base/ |
D | optional_unittest.cc | 26 // the origin ID from the original. When a new Logger is created from scratch, 29 class Logger { class 31 Logger() : id_(next_id_++), origin_(id_) { Log("default constructor"); } in Logger() function in rtc::__anon12c6a9200111::Logger 32 explicit Logger(int origin) : id_(next_id_++), origin_(origin) { in Logger() function in rtc::__anon12c6a9200111::Logger 35 Logger(const Logger& other) : id_(next_id_++), origin_(other.origin_) { in Logger() function in rtc::__anon12c6a9200111::Logger 38 Logger(Logger&& other) : id_(next_id_++), origin_(other.origin_) { in Logger() function in rtc::__anon12c6a9200111::Logger 41 ~Logger() { Log("destructor"); } in ~Logger() 42 Logger& operator=(const Logger& other) { in operator =() 47 Logger& operator=(Logger&& other) { in operator =() 52 friend void swap(Logger& a, Logger& b) { in swap() [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 | 40 java.util.logging.Logger root = java.util.logging.Logger.getLogger(""); 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() [all …]
|
/external/slf4j/jcl-over-slf4j/src/main/java/org/apache/commons/logging/impl/ |
D | SLF4JLog.java | 23 import org.slf4j.Logger; 28 * delegates all processing to a wrapped {@link Logger org.slf4j.Logger} 40 // used to store this logger's name to recreate it after serialization 44 // logger instance is transient 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() 53 * Directly delegates to the wrapped <code>org.slf4j.Logger</code> instance. 56 return logger.isDebugEnabled(); in isDebugEnabled() [all …]
|
D | SLF4JLocationAwareLog.java | 23 import org.slf4j.Logger; 29 * delegates all processing to a wrapped {@link Logger org.slf4j.Logger} 41 // used to store this logger's name to recreate it after serialization 45 // logger instance is transient 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() 57 * <code>org.slf4j.Logger</code> instance. 60 return logger.isTraceEnabled(); in isTraceEnabled() [all …]
|
/external/slf4j/slf4j-log4j12/src/test/java/org/slf4j/ |
D | InvocationTest.java | 43 org.apache.log4j.Logger root; 51 root = org.apache.log4j.Logger.getRootLogger(); in setUp() 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() [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-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() 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() [all …]
|
/external/slf4j/slf4j-log4j12/src/main/java/org/slf4j/impl/ |
D | Log4jLoggerAdapter.java | 30 import org.slf4j.Logger; 38 * A wrapper over {@link org.apache.log4j.Logger org.apache.log4j.Logger} in 39 * conforming to the {@link Logger} interface. 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() 90 * Is this logger instance enabled for the TRACE level? 92 * @return True if this Logger is enabled for level TRACE, false otherwise. [all …]
|
/external/ims/rcs/rcsservice/src/com/android/service/ims/presence/ |
D | StackListener.java | 64 import com.android.ims.internal.Logger; 72 * The logger 74 private Logger logger = Logger.getLogger(this.getClass().getName()); field in StackListener 114 logger.debug( "Thread=" + Thread.currentThread().getName() + " received " in handleMessage() 117 logger.error("msg=null"); in handleMessage() 127 logger.error("mPresencePublication=" + mPresencePublication + " val=" + val); in handleMessage() 140 logger.error("mPresencePublication=" + mPresencePublication + in handleMessage() 154 logger.error("mPresenceSubcriber=" + mPresenceSubscriber + in handleMessage() 168 logger.error("mPresencePublication=" + mPresencePublication + in handleMessage() 182 logger.error("mPresenceSubscriber=" + mPresenceSubscriber + in handleMessage() [all …]
|
D | PresencePublication.java | 68 import com.android.ims.internal.Logger; 82 private Logger logger = Logger.getLogger(this.getClass().getName()); field in PresencePublication 168 logger.debug("PresencePublication constrcuct"); in PresencePublication() 179 logger.debug("The current mobile data is: " + (mDataEnabled ? "enabled" : "disabled")); in PresencePublication() 185 logger.debug("The current TTY mode is: " + mPreferredTtyMode); in PresencePublication() 196 logger.print("onReceive intent=" + intent); in PresencePublication() 200 logger.print("ACTION_SIM_STATE_CHANGED INTENT_KEY_ICC_STATE=" + stateExtra); in PresencePublication() 208 logger.error("teleMgr = null"); in PresencePublication() 241 logger.print("Pulled out SIM, set to PUBLISH_STATE_NOT_PUBLISHED"); in PresencePublication() 252 logger.print("Airplane mode, set to PUBLISH_STATE_NOT_PUBLISHED"); in PresencePublication() [all …]
|
D | PresenceSubscriber.java | 69 import com.android.ims.internal.Logger; 81 * The logger 83 private Logger logger = Logger.getLogger(this.getClass().getName()); field in PresenceSubscriber 103 logger.debug("domain=" + domain); in numberToUriString() 111 logger.print("numberToUriString formatedContact=" + formatedContact); in numberToUriString() 121 logger.print("numberToTelString formatedContact=" + formatedContact); in numberToTelString() 130 logger.error("requestCapability ret=" + ret); in requestCapability() 139 logger.debug("check contact size ..."); in requestCapability() 142 logger.error("requestCapability contctNumber size=" + contactsNumber.size()); in requestCapability() 149 logger.error("requestCapability ret=" + ret); in requestCapability() [all …]
|
/external/testng/src/main/java/org/testng/log4testng/ |
D | Logger.java | 41 * # The org.testng.reporters.EmailableReporter Logger will log TRACE level and above 42 * log4testng.logger.org.testng.reporters.EmailableReporter=TRACE 44 * # All Logger in packages below org.testng will log WARN level and above 45 * log4testng.logger.org.testng=WARN 50 * import org.testng.log4testng.Logger; 53 * private static final Logger LOGGER = Logger.getLogger(ThisClass.class); 56 * LOGGER.debug("entering myMethod()"); 58 * LOGGER.warn("unknown file: " + filename); 60 * LOGGER.error("Unexpected error", exception); 63 public class Logger { class [all …]
|
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/ |
D | EABService.java | 63 import com.android.ims.internal.Logger; 67 private Logger logger = Logger.getLogger(this.getClass().getName()); field in EABService 90 logger.info("EAB Service constructed"); in EABService() 106 logger.debug("onReceive intent: " + action); 110 logger.debug("Contacts database created."); 116 logger.debug("Resetting timestamp values in shared pref."); 129 logger.debug("lastChangedTimestamp=" + lastChangedTimestamp + 133 logger.debug("Resetting timestamp values in shared pref."); 147 logger.info("EAB Database Reset, Recreating..."); 168 logger.debug("onChange for ContactChangedListener"); in onChange() [all …]
|
D | EABProvider.java | 50 import com.android.ims.internal.Logger; 57 private Logger logger = Logger.getLogger(this.getClass().getName()); field in EABProvider 111 logger.info("Enter: bootstrapDatabase() Creating new EAB database"); in bootstrapDatabase() 113 logger.debug("Exit: bootstrapDatabase()"); in bootstrapDatabase() 123 logger.info("Enter: upgradeDatabase() - oldVersion = " + oldVersion + in upgradeDatabase() 129 logger.info("upgradeDatabase oldVersion == newVersion, No Upgrade Required"); in upgradeDatabase() 138 logger.debug("upgradeDatabase : DB has been upgraded to " + oldVersion); in upgradeDatabase() 145 logger.debug("upgradeDatabase : DB has been upgraded to " + oldVersion); in upgradeDatabase() 157 logger.debug("upgradeDatabase : DB has been upgraded to " + oldVersion); in upgradeDatabase() 167 logger.debug("upgradeDatabase : DB has been upgraded to " + oldVersion); in upgradeDatabase() [all …]
|
/external/slf4j/slf4j-jdk14/src/main/java/org/slf4j/impl/ |
D | JDK14LoggerAdapter.java | 30 import org.slf4j.Logger; 38 * A wrapper over {@link java.util.logging.Logger java.util.logging.Logger} in 39 * conformity with the {@link Logger} interface. Note that the logging levels 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() 60 * Is this logger instance enabled for the FINEST level? 62 * @return True if this Logger is enabled for level FINEST, false otherwise. 65 return logger.isLoggable(Level.FINEST); in isTraceEnabled() [all …]
|
/external/ims/rcs/rcsservice/src/com/android/service/ims/ |
D | RcsStackAdaptor.java | 65 import com.android.ims.internal.Logger; 92 // The logger 93 private Logger logger = Logger.getLogger(this.getClass().getName()); field in RcsStackAdaptor 138 logger.debug("imsEnableState=" + imsEnableState); in setImsEnableState() 184 logger.debug( "Thread=" + Thread.currentThread().getName() + " received " 187 logger.error("msg=null"); 193 logger.debug("handleMessage msg=PRESENCE_INIT_IMS_UCE_SERVICE" ); 198 logger.debug("handleMessage unknown msg=" + msg.what); 209 logger.error("getCapabilityDiscoveryEnabled = false"); in checkStackAndPublish() 215 logger.error("checkStackAndPublish ret=" + ret); in checkStackAndPublish() [all …]
|
/external/clang/tools/libclang/ |
D | CLog.h | 31 class Logger; variable 32 typedef IntrusiveRefCntPtr<Logger> LogRef; 37 /// if (LogRef Log = Logger::make(__func__)) { 41 class Logger : public RefCountedBase<Logger> { 53 if (const char *EnvOpt = Logger::getEnvVar()) in isStackTracingEnabled() 60 return new Logger(name, trace); 64 explicit Logger(llvm::StringRef name, bool trace) in Logger() function 66 ~Logger(); 68 Logger &operator<<(CXTranslationUnit); 69 Logger &operator<<(const FileEntry *FE); [all …]
|
/external/guice/core/test/com/google/inject/ |
D | LoggerInjectionTest.java | 9 import java.util.logging.Logger; 18 @Inject Logger logger; field in LoggerInjectionTest 23 assertEquals("com.google.inject.LoggerInjectionTest", logger.getName()); in testLoggerWithMember() 29 assertEquals("com.google.inject.LoggerInjectionTest$Foo", foo.logger.getName()); in testLoggerInConstructor() 33 Logger logger; field in LoggerInjectionTest.Foo 35 @Inject Foo(Logger logger) { in Foo() argument 36 this.logger = logger; in Foo() 42 assertNull(injector.getInstance(Logger.class).getName()); in testLoggerWithoutMember() 43 assertNull(injector.getProvider(Logger.class).get().getName()); in testLoggerWithoutMember() 44 assertNull(injector.getBinding(Logger.class).getProvider().get().getName()); in testLoggerWithoutMember() [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/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/ |
D | LogManagerTest.java | 34 import java.util.logging.Logger; 43 * add/get logger(dot) 108 Logger log = new MockLogger(FOO, null); in testAddGetLogger() 109 Logger foo = mockManager.getLogger(FOO); in testAddGetLogger() 141 // add logger with duplicate name has no effect in testAddGetLogger_duplicateName() 142 Logger foo = new MockLogger(FOO, null); in testAddGetLogger_duplicateName() 143 Logger foo2 = new MockLogger(FOO, null); in testAddGetLogger_duplicateName() 158 Logger foo = new MockLogger("testAddGetLogger_Hierachy.foo", null); in testAddGetLogger_Hierachy() 159 Logger child = new MockLogger("testAddGetLogger_Hierachy.foo.child", in testAddGetLogger_Hierachy() 161 Logger fakeChild = new MockLogger( in testAddGetLogger_Hierachy() [all …]
|
D | LoggerTest.java | 37 import java.util.logging.Logger; 42 * Test suite for the class java.util.logging.Logger. 65 private Logger sharedLogger = null; 99 * Test the global logger 102 assertNull(Logger.global.getFilter()); in testGlobalLogger() 103 assertEquals(0, Logger.global.getHandlers().length); in testGlobalLogger() 104 assertNull(Logger.global.getLevel()); in testGlobalLogger() 105 assertEquals("global", Logger.global.getName()); in testGlobalLogger() 106 assertNull(Logger.global.getParent().getParent()); in testGlobalLogger() 107 assertNull(Logger.global.getResourceBundle()); in testGlobalLogger() [all …]
|