Home
last modified time | relevance | path

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

12345678910>>...44

/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-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-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-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/adhd/cras/src/common/
Dpacket_status_logger.c12 void packet_status_logger_init(struct packet_status_logger *logger) in packet_status_logger_init() argument
14 memset(logger->data, 0, PACKET_STATUS_LEN_BYTES); in packet_status_logger_init()
15 logger->size = PACKET_STATUS_LEN_BYTES * 8; in packet_status_logger_init()
16 logger->wp = 0; in packet_status_logger_init()
17 logger->num_wraps = 0; in packet_status_logger_init()
18 clock_gettime(CLOCK_MONOTONIC_RAW, &logger->ts); in packet_status_logger_init()
21 void packet_status_logger_update(struct packet_status_logger *logger, bool val) in packet_status_logger_update() argument
24 logger->data[logger->wp / 8] |= 1UL << (logger->wp % 8); in packet_status_logger_update()
26 logger->data[logger->wp / 8] &= ~(1UL << (logger->wp % 8)); in packet_status_logger_update()
28 logger->wp++; in packet_status_logger_update()
[all …]
Dpacket_status_logger.h37 void packet_status_logger_init(struct packet_status_logger *logger);
40 void packet_status_logger_update(struct packet_status_logger *logger, bool val);
47 packet_status_logger_begin_ts(const struct packet_status_logger *logger, in packet_status_logger_begin_ts() argument
50 long nsec = WBS_FRAME_NS * (logger->size - logger->wp); in packet_status_logger_begin_ts()
52 *ts = logger->ts; in packet_status_logger_begin_ts()
53 if (logger->num_wraps == 0) in packet_status_logger_begin_ts()
70 packet_status_logger_end_ts(const struct packet_status_logger *logger, in packet_status_logger_end_ts() argument
73 *ts = logger->ts; in packet_status_logger_end_ts()
74 ts->tv_nsec += WBS_FRAME_NS * logger->wp; in packet_status_logger_end_ts()
83 packet_status_logger_dump_hex(const struct packet_status_logger *logger) in packet_status_logger_dump_hex() argument
[all …]
/external/rust/crates/env_logger/src/filter/
Dmod.rs375 let mut logger = Builder::new().build(); in make_logger_filter() localVariable
376 logger.directives = dirs; in make_logger_filter()
377 logger in make_logger_filter()
382 let logger = Builder::new().filter(None, LevelFilter::Info).build(); in filter_info() localVariable
383 assert!(enabled(&logger.directives, Level::Info, "crate1")); in filter_info()
384 assert!(!enabled(&logger.directives, Level::Debug, "crate1")); in filter_info()
389 let logger = Builder::new() in filter_beginning_longest_match() localVariable
394 assert!(enabled(&logger.directives, Level::Debug, "crate2::mod1")); in filter_beginning_longest_match()
395 assert!(!enabled(&logger.directives, Level::Debug, "crate2")); in filter_beginning_longest_match()
420 let logger = Builder::new().parse("info,crate1::mod1=warn").build(); in parse_default() localVariable
[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/
DStackListener.java64 private Logger logger = Logger.getLogger(this.getClass().getName()); field in StackListener
104 logger.debug( "Thread=" + Thread.currentThread().getName() + " received " in handleMessage()
107 logger.error("msg=null"); in handleMessage()
117 logger.error("mPresencePublication=" + mPresencePublication + " val=" + val); in handleMessage()
131 logger.error("mPresencePublication=" + mPresencePublication + in handleMessage()
148 logger.error("mPresenceSubcriber=" + mPresenceSubscriber + in handleMessage()
164 logger.error("mPresencePublication=" + mPresencePublication + in handleMessage()
179 logger.error("mPresenceSubscriber=" + mPresenceSubscriber + in handleMessage()
194 logger.error("mPresenceSubscriber=" + mPresenceSubscriber + in handleMessage()
202 logger.error("rcsPresenceInfo is null or " + in handleMessage()
[all …]
DRcsStackAdaptor.java79 private Logger logger = Logger.getLogger(this.getClass().getName()); field in RcsStackAdaptor
124 logger.debug("imsEnableState=" + imsEnableState); in setImsEnableState()
176 logger.debug( "Thread=" + Thread.currentThread().getName() + " received "
179 logger.error("msg=null");
185 logger.debug("handleMessage msg=PRESENCE_INIT_IMS_UCE_SERVICE" );
191 logger.debug("handleMessage unknown msg=" + msg.what);
215 logger.error("handleAssociatedSubscriptionChanged: error getting sub manager"); in handleAssociatedSubscriptionChanged()
227 logger.error("getCapabilityDiscoveryEnabled = false"); in getStackStatusForCapabilityRequest()
233 logger.error("checkStackAndPublish ret=" + ret); in getStackStatusForCapabilityRequest()
238 logger.error("checkStackAndPublish ERROR_SERVICE_NOT_PUBLISHED"); in getStackStatusForCapabilityRequest()
[all …]
/external/ims/rcs/rcsservice/src/com/android/service/ims/presence/
DPresencePublication.java65 private Logger logger = Logger.getLogger(this.getClass().getName()); field in PresencePublication
103 logger.debug( "Thread=" + Thread.currentThread().getName() + " received "
106 logger.error("msg=null");
112 logger.debug("handleMessage msg=RCS_PUBLISH_REQUEST:");
126 logger.debug("handleMessage unknown msg=" + msg.what);
201 logger.debug("PresencePublication constrcuct"); in PresencePublication()
212 logger.debug("The current mobile data is: " + (mDataEnabled ? "enabled" : "disabled")); in PresencePublication()
216 logger.debug("The current TTY mode is: " + mPreferredTtyMode); in PresencePublication()
223 logger.debug("Update PresencePublisher"); in updatePresencePublisher()
230 logger.debug("Remove PresencePublisher"); in removePresencePublisher()
[all …]
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/
DEABService.java61 private Logger logger = Logger.getLogger(this.getClass().getName()); field in EABService
84 logger.info("EAB Service constructed"); in EABService()
100 logger.debug("onReceive intent: " + action);
104 logger.debug("Contacts database created.");
110 logger.debug("Resetting timestamp values in shared pref.");
123 logger.debug("lastChangedTimestamp=" + lastChangedTimestamp +
127 logger.debug("Resetting timestamp values in shared pref.");
141 logger.info("EAB Database Reset, Recreating...");
162 logger.debug("onChange for ContactChangedListener"); in onChange()
180 logger.debug("onChange for ContactProfileListener"); in onChange()
[all …]
/external/grpc-grpc/src/ruby/bin/
Dmath_client.rb35 def logger method
45 GRPC.logger.info('request_response')
46 GRPC.logger.info('----------------')
48 GRPC.logger.info("div(7/3): req=#{req.inspect}")
50 GRPC.logger.info("Answer: #{resp.inspect}")
51 GRPC.logger.info('----------------')
56 GRPC.logger.info('client_streamer')
57 GRPC.logger.info('---------------')
59 GRPC.logger.info("sum(1, 2, 3, 4, 5): reqs=#{reqs.inspect}")
61 GRPC.logger.info("Answer: #{resp.inspect}")
[all …]
/external/llvm-project/lldb/examples/summaries/cocoa/
DNSData.py38 logger = lldb.formatters.Logger.Logger()
39 logger >> "NSConcreteData_SummaryProvider __init__"
63 logger = lldb.formatters.Logger.Logger()
64 logger >> "NSConcreteData_SummaryProvider length"
67 logger >> str(size)
68 logger >> str(size.GetValueAsUnsigned(0))
78 logger = lldb.formatters.Logger.Logger()
79 logger >> "NSDataUnknown_SummaryProvider __init__"
88 logger = lldb.formatters.Logger.Logger()
89 logger >> "NSDataUnknown_SummaryProvider length"
[all …]
/external/grpc-grpc/src/ruby/lib/grpc/generic/
Dbidi_call.rb135 GRPC.logger.warn('bidi call: read_using_run_batch failed')
136 GRPC.logger.warn(e)
143 GRPC.logger.debug('bidi-write-loop: starting')
146 GRPC.logger.debug("bidi-write-loop: #{count}")
156 GRPC.logger.warn('bidi-write-loop: ended with error')
157 GRPC.logger.warn(e)
161 GRPC.logger.debug("bidi-write-loop: #{count} writes done")
163 GRPC.logger.debug("bidi-write-loop: client sent #{count}, waiting")
167 GRPC.logger.warn('bidi-write-loop: send close failed')
168 GRPC.logger.warn(e)
[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/llvm-project/lldb/examples/synthetic/
Dlibcxx.py44 logger = lldb.formatters.Logger.Logger()
78 logger = lldb.formatters.Logger.Logger()
82 logger = lldb.formatters.Logger.Logger()
110 logger = lldb.formatters.Logger.Logger()
117 logger = lldb.formatters.Logger.Logger()
118 logger >> "Retrieving child " + str(index)
131 logger = lldb.formatters.Logger.Logger()
160 logger = lldb.formatters.Logger.Logger()
164 logger = lldb.formatters.Logger.Logger()
168 logger = lldb.formatters.Logger.Logger()
[all …]
/external/fonttools/Lib/fontTools/misc/
DloggingTools.py152 logger = kwargs.pop("logger", "fontTools")
153 if not logger or isinstance(logger, str):
155 logger = logging.getLogger(logger)
157 _resetExistingLoggers(parent=logger.name)
171 logger.addHandler(h)
172 if logger.name != "root":
174 logger.propagate = kwargs.pop("propagate", False)
178 logger.setLevel(level)
217 logger = root.manager.loggerDict[name]
218 logger.level = logging.NOTSET
[all …]
/external/mesa3d/include/android_stub/log/
Dlog_read.h80 struct logger;
82 log_id_t android_logger_get_id(struct logger* logger);
85 int android_logger_clear(struct logger* logger);
87 long android_logger_get_log_size(struct logger* logger);
89 int android_logger_set_log_size(struct logger* logger, unsigned long size);
91 long android_logger_get_log_readable_size(struct logger* logger);
93 long android_logger_get_log_consumed_size(struct logger* logger);
95 int android_logger_get_log_version(struct logger* logger);
121 struct logger* android_logger_open(struct logger_list* logger_list, log_id_t id);

12345678910>>...44