Home
last modified time | relevance | path

Searched refs:logger (Results 1 – 25 of 608) sorted by relevance

12345678910>>...25

/external/slf4j/slf4j-ext/src/main/java/org/slf4j/ext/
DLoggerWrapper.java50 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/
DInvocationTest.java56 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-nop/src/test/java/org/slf4j/
DInvocationTest.java52 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-jcl/src/test/java/org/slf4j/
DInvocationTest.java58 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-log4j12/src/test/java/org/slf4j/
DInvocationTest.java62 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/
DInvocationTest.java71 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/
DSLF4JLog.java45 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 …]
DSLF4JLocationAwareLog.java46 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/
DLog4jLoggerAdapter.java59 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()
129logger.log(FQCN, traceCapable ? Level.TRACE : Level.DEBUG, ft.getMessage(), ft.getThrowable()); in trace()
152logger.log(FQCN, traceCapable ? Level.TRACE : Level.DEBUG, ft.getMessage(), ft.getThrowable()); in trace()
[all …]
/external/ims/rcs/rcsservice/src/com/android/service/ims/presence/
DStackListener.java74 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()
196 logger.error("mPresenceSubscriber=" + mPresenceSubscriber + in handleMessage()
209 logger.debug("Received PRESENCE_IMS_UNSOL_NOTIFY_LIST_UPDATE"); in handleMessage()
[all …]
DPresencePublication.java82 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()
263 logger.debug("Tty mode changed from " + mPreferredTtyMode in PresencePublication()
[all …]
DPresenceSubscriber.java83 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()
167 logger.print("add to task manager, formatedNumbers=" + in requestCapability()
171 logger.print("taskId=" + taskId); in requestCapability()
[all …]
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/
DEABService.java67 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()
186 logger.debug("onChange for ContactProfileListener"); in onChange()
[all …]
DEABProvider.java57 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()
171 logger.error("Exception during upgradeDatabase. " + exception.getMessage()); in upgradeDatabase()
[all …]
DPollingAction.java46 private Logger logger = Logger.getLogger(this.getClass().getName()); field in PollingAction
59 logger.print("onSuccess() is called. reqId=" + reqId);
63 logger.print("onError() is called, reqId=" + reqId + " error code: " + code);
72 logger.print("onFinish() is called, reqId=" + reqId);
83 logger.print("onTimeout() is called, reqId=" + reqId);
96 logger.info("PollingAction(), task=" + mPollingTask); in PollingAction()
107 logger.debug("doInBackground(), Thread = " + Thread.currentThread().getName()); in doInBackground()
114 logger.print("getCapabilityPollListSubscriptionExpiration: " + requestExpiration); in doInBackground()
131 logger.debug("No contacts in polling task, no action."); in doInBackground()
137 logger.debug("rcsManager == null"); in doInBackground()
[all …]
/external/ims/rcs/rcsservice/src/com/android/service/ims/
DRcsStackAdaptor.java93 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()
220 logger.error( in checkStackAndPublish()
230 logger.error("Didnt' publish properly"); in isPublished()
[all …]
/external/chromium-trace/catapult/third_party/pyserial/serial/
Drfc2217.py320 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/third_party/pyserial/serial/urlhandler/
Dprotocol_socket.py44 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 …]
Dprotocol_loop.py43 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/slf4j/slf4j-jdk14/src/main/java/org/slf4j/impl/
DJDK14LoggerAdapter.java50 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/
DLocLogger.java55 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/
DXLoggerTest.java78 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/
Dcell_tools_test_on_chromebook.py28 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 …]
/external/python/cpython2/Lib/test/
Dtest_logging.py372 def log_at_all_levels(self, logger): argument
374 logger.log(lvl, self.next_message())
744 logger = logging.getLogger()
746 logger.info(self.next_message())
748 logger.error(self.next_message())
759 logger = logging.getLogger("compiler.parser")
761 logger.info(self.next_message())
762 logger.error(self.next_message())
782 logger = logging.getLogger()
802 logger = logging.getLogger("compiler.parser")
[all …]
/external/okhttp/okhttp-logging-interceptor/src/main/java/com/squareup/okhttp/logging/
DHttpLoggingInterceptor.java118 public HttpLoggingInterceptor(Logger logger) { in HttpLoggingInterceptor() argument
119 this.logger = logger; in HttpLoggingInterceptor()
122 private final Logger logger; field in HttpLoggingInterceptor
158 logger.log(requestStartMessage); in intercept()
165 logger.log("Content-Type: " + requestBody.contentType()); in intercept()
168 logger.log("Content-Length: " + requestBody.contentLength()); in intercept()
177 logger.log(name + ": " + headers.value(i)); in intercept()
182 logger.log("--> END " + request.method()); in intercept()
184 logger.log("--> END " + request.method() + " (encoded body omitted)"); in intercept()
195 logger.log(""); in intercept()
[all …]

12345678910>>...25