Home
last modified time | relevance | path

Searched refs:isEnabledFor (Results 1 – 23 of 23) 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__.py1421 if self.isEnabledFor(DEBUG):
1433 if self.isEnabledFor(INFO):
1445 if self.isEnabledFor(WARNING):
1462 if self.isEnabledFor(ERROR):
1480 if self.isEnabledFor(CRITICAL):
1499 if self.isEnabledFor(level):
1677 def isEnabledFor(self, level): member in Logger
1830 if self.isEnabledFor(level):
1834 def isEnabledFor(self, level): member in LoggerAdapter
1838 return self.logger.isEnabledFor(level)
/external/clang/tools/scan-build-py/libscanbuild/
D__init__.py73 if logging.getLogger().isEnabledFor(logging.DEBUG):
/external/chromium-trace/catapult/common/py_utils/py_utils/
Dwebpagereplay_go_server.py386 if logging.getLogger('').isEnabledFor(log_level) or USE_LOCAL_WPR in self._replay_options:
392 if logging.getLogger('').isEnabledFor(log_level):
/external/pigweed/pw_cli/py/pw_cli/
Dlog.py129 if logger.isEnabledFor(level - 1):
/external/chromium-trace/catapult/devil/devil/android/perf/
Dthermal_throttle.py122 if logger.isEnabledFor(logging.DEBUG):
/external/llvm-project/clang/tools/scan-build-py/libscanbuild/
D__init__.py131 if logging.getLogger().isEnabledFor(logging.DEBUG):
/external/python/cpython3/Lib/test/
Dtest_logging.py4754 self.assertFalse(self.adapter.isEnabledFor(32))
4917 self.assertFalse(self.logger.isEnabledFor(22))
4929 self.assertFalse(self.logger.isEnabledFor(22))
4967 self.assertTrue(logger2.isEnabledFor(logging.ERROR))
4968 self.assertFalse(logger2.isEnabledFor(logging.DEBUG))
4971 self.assertTrue(logger2.isEnabledFor(logging.ERROR))
4975 self.assertTrue(root.isEnabledFor(logging.ERROR))
4984 self.assertFalse(logger2.isEnabledFor(logging.ERROR))
4994 self.assertFalse(logger2.isEnabledFor(logging.ERROR))
4995 self.assertTrue(logger2.isEnabledFor(logging.CRITICAL))
[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/cpython3/Lib/lib2to3/
Drefactor.py591 if self.logger.isEnabledFor(logging.DEBUG):
/external/python/cpython2/Lib/lib2to3/
Drefactor.py606 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.rst1056 :meth:`~Logger.isEnabledFor` method which takes a level argument and returns
1060 if logger.isEnabledFor(logging.DEBUG):
1067 .. note:: In some cases, :meth:`~Logger.isEnabledFor` can itself be more
1071 call to :meth:`~Logger.isEnabledFor` in a local or instance variable, and use
Dlogging-cookbook.rst1194 if self.isEnabledFor(level):
1500 if logger.isEnabledFor(record.levelno):
/external/parameter-framework/upstream/tools/coverage/
Dcoverage.py278 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(level)
885 :meth:`~Logger.critical`, :meth:`~Logger.log`, :meth:`~Logger.isEnabledFor`,
892 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/Misc/NEWS.d/
D3.9.0a3.rst550 If an exception were to be thrown in `Logger.isEnabledFor` (say, by asyncio
/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,