Home
last modified time | relevance | path

Searched refs:QueueHandler (Results 1 – 13 of 13) sorted by relevance

/external/python/cpython3/Lib/test/test_concurrent_futures/
Dtest_init.py11 from logging.handlers import QueueHandler
30 logger.addHandler(QueueHandler(log_queue))
/external/python/cpython3/Doc/library/
Dlogging.handlers.rst1019 QueueHandler chapter
1024 The :class:`QueueHandler` class, located in the :mod:`logging.handlers` module,
1028 Along with the :class:`QueueListener` class, :class:`QueueHandler` can be used
1035 .. class:: QueueHandler(queue)
1037 Returns a new instance of the :class:`QueueHandler` class. The instance is
1079 to subclass ``QueueHandler`` and override this method to e.g. avoid
1114 because it works hand-in-hand with :class:`QueueHandler`.
1116 Along with the :class:`QueueHandler` class, :class:`QueueListener` can be used
Dlogging.config.rst728 Configuring QueueHandler and QueueListener
731 If you want to configure a :class:`~logging.handlers.QueueHandler`, noting that this
734 will be available as the :attr:`~logging.handlers.QueueHandler.listener` attribute of
737 ``QueueHandler`` in your configuration. The dictionary schema for configuring the pair
744 class: logging.handlers.QueueHandler
796 initialization signatures as :class:`~logging.handlers.QueueHandler` and
/external/python/cpython3/Lib/logging/
Dconfig.py805 elif issubclass(klass, logging.handlers.QueueHandler):
863 if issubclass(klass, logging.handlers.QueueHandler):
Dhandlers.py1424 class QueueHandler(logging.Handler): class
/external/python/cpython3/Doc/howto/
Dlogging-cookbook.rst564 :class:`QueueHandler` to those loggers which are accessed from
575 designed as the counterpart to :class:`QueueHandler`. A
590 queue_handler = QueueHandler(que)
1275 Alternatively, you can use a ``Queue`` and a :class:`QueueHandler` to send
1348 h = logging.handlers.QueueHandler(queue) # Just the one handler needed
1412 qh = logging.handlers.QueueHandler(q)
1846 Subclassing QueueHandler and QueueListener- a ZeroMQ example
1849 Subclass ``QueueHandler``
1852 You can use a :class:`QueueHandler` subclass to send messages to other kinds
1863 class ZeroMQSocketHandler(QueueHandler):
[all …]
Dlogging.rst986 #. :class:`~handlers.QueueHandler` instances send messages to a queue, such as
999 The :class:`~handlers.QueueHandler` class.
/external/python/cpython3/Misc/NEWS.d/
D3.13.0b2.rst443 QueueHandler
D3.13.0a3.rst1494 a :class:`QueueHandler` without specifying handlers.
D3.12.0a1.rst3606 :class:`~logging.handlers.QueueHandler` and
4199 In :class:`QueueHandler`, clear ``stack_info`` from :class:`LogRecord` to
D3.8.0a1.rst1888 QueueHandler.prepare() now makes a copy of the record before modifying and
3022 In :class:`QueueHandler`, clear ``exc_text`` from :class:`LogRecord` to
/external/python/cpython3/Lib/test/
Dtest_logging.py4140 class CustomQueueHandler(logging.handlers.QueueHandler):
4267 self.que_hdlr = logging.handlers.QueueHandler(self.queue)
4391 handler = logging.handlers.QueueHandler(log_queue)
/external/python/cpython3/Misc/
DHISTORY12110 - Logging: Added QueueHandler class to facilitate logging usage with