Home
last modified time | relevance | path

Searched refs:isEnabledFor (Results 1 – 20 of 20) sorted by relevance

/external/slf4j/slf4j-log4j12/src/main/java/org/slf4j/impl/
DLog4jLoggerAdapter.java386 return logger.isEnabledFor(Level.WARN); in isWarnEnabled()
414 if (logger.isEnabledFor(Level.WARN)) { in warn()
437 if (logger.isEnabledFor(Level.WARN)) { in warn()
458 if (logger.isEnabledFor(Level.WARN)) { in warn()
483 return logger.isEnabledFor(Level.ERROR); in isErrorEnabled()
511 if (logger.isEnabledFor(Level.ERROR)) { in error()
534 if (logger.isEnabledFor(Level.ERROR)) { in error()
555 if (logger.isEnabledFor(Level.ERROR)) { in error()
/external/python/cpython2/Lib/logging/
D__init__.py1161 if self.isEnabledFor(DEBUG):
1173 if self.isEnabledFor(INFO):
1185 if self.isEnabledFor(WARNING):
1199 if self.isEnabledFor(ERROR):
1218 if self.isEnabledFor(CRITICAL):
1237 if self.isEnabledFor(level):
1367 def isEnabledFor(self, level): member in Logger
1498 def isEnabledFor(self, level): member in LoggerAdapter
1502 return self.logger.isEnabledFor(level)
/external/python/cpython3/Lib/logging/
D__init__.py1370 if self.isEnabledFor(DEBUG):
1382 if self.isEnabledFor(INFO):
1394 if self.isEnabledFor(WARNING):
1411 if self.isEnabledFor(ERROR):
1429 if self.isEnabledFor(CRITICAL):
1448 if self.isEnabledFor(level):
1619 def isEnabledFor(self, level): member in Logger
1766 if self.isEnabledFor(level):
1770 def isEnabledFor(self, level): member in LoggerAdapter
1774 return self.logger.isEnabledFor(level)
/external/clang/tools/scan-build-py/libscanbuild/
D__init__.py73 if logging.getLogger().isEnabledFor(logging.DEBUG):
/external/v8/gypfiles/
Dlandmine_utils.py22 if logging.getLogger().isEnabledFor(logging.INFO):
/external/chromium-trace/catapult/devil/devil/android/perf/
Dthermal_throttle.py120 if logger.isEnabledFor(logging.DEBUG):
/external/python/cpython3/Lib/test/
Dtest_logging.py4167 self.assertFalse(self.adapter.isEnabledFor(32))
4299 self.assertFalse(self.logger.isEnabledFor(22))
4336 self.assertTrue(logger2.isEnabledFor(logging.ERROR))
4337 self.assertFalse(logger2.isEnabledFor(logging.DEBUG))
4340 self.assertTrue(logger2.isEnabledFor(logging.ERROR))
4344 self.assertTrue(root.isEnabledFor(logging.ERROR))
4353 self.assertFalse(logger2.isEnabledFor(logging.ERROR))
4363 self.assertFalse(logger2.isEnabledFor(logging.ERROR))
4364 self.assertTrue(logger2.isEnabledFor(logging.CRITICAL))
4365 self.assertFalse(logger1.isEnabledFor(logging.ERROR))
[all …]
/external/slf4j/log4j-over-slf4j/src/main/java/org/apache/log4j/
DCategory.java171 public boolean isEnabledFor(Priority p) { in isEnabledFor() method in Category
/external/python/cpython2/Lib/lib2to3/
Drefactor.py606 if self.logger.isEnabledFor(logging.DEBUG):
/external/python/cpython3/Lib/lib2to3/
Drefactor.py587 if self.logger.isEnabledFor(logging.DEBUG):
/external/python/cpython2/Doc/howto/
Dlogging.rst996 :meth:`~Logger.isEnabledFor` method which takes a level argument and returns
1000 if logger.isEnabledFor(logging.DEBUG):
1007 .. note:: In some cases, :meth:`~Logger.isEnabledFor` can itself be more
1011 call to :meth:`~Logger.isEnabledFor` in a local or instance variable, and use
/external/python/cpython3/Doc/howto/
Dlogging.rst1047 :meth:`~Logger.isEnabledFor` method which takes a level argument and returns
1051 if logger.isEnabledFor(logging.DEBUG):
1058 .. note:: In some cases, :meth:`~Logger.isEnabledFor` can itself be more
1062 call to :meth:`~Logger.isEnabledFor` in a local or instance variable, and use
Dlogging-cookbook.rst1160 if self.isEnabledFor(level):
/external/parameter-framework/upstream/tools/coverage/
Dcoverage.py280 if logger.isEnabledFor(level):
/external/python/cpython2/Doc/library/
Dlogging.rst120 .. method:: Logger.isEnabledFor(lvl)
723 :meth:`~Logger.critical`, :meth:`~Logger.log` and :meth:`~Logger.isEnabledFor`.
728 The :meth:`~Logger.isEnabledFor` method was added to :class:`LoggerAdapter`.
/external/python/cpython3/Doc/library/
Dlogging.rst124 :meth:`isEnabledFor` will return/expect to be passed integers.
127 .. method:: Logger.isEnabledFor(lvl)
856 :meth:`~Logger.critical`, :meth:`~Logger.log`, :meth:`~Logger.isEnabledFor`,
863 The :meth:`~Logger.isEnabledFor`, :meth:`~Logger.getEffectiveLevel`,
/external/python/cpython2/Misc/NEWS.d/
D2.7b1.rst358 logging: Added getChild utility method to Logger and added isEnabledFor
/external/python/cpython3/Doc/whatsnew/
D2.7.rst536 :meth:`~logging.LoggerAdapter.isEnabledFor` method that takes a
/external/python/cpython2/Doc/whatsnew/
D2.7.rst536 :meth:`~logging.LoggerAdapter.isEnabledFor` method that takes a
/external/python/cpython3/Misc/
DHISTORY12048 - logging: hasHandlers method was added to Logger, and isEnabledFor,